我知道线索这里然而,哪些提案 ( ... | cut -c 80
) 给出了单个字母输出,例如n r s t p
.我愿意
# https://unix.stackexchange.com/a/293147/16920
find -L $(find . -type l -name 'Math*') -name '*.tex' -exec fgrep word /dev/null {} +
有些比赛内容太多我想删掉;大多数其他比赛都可以,但长一内衬是内容上的问题
...
/Math/16.5.2014.tex:Feedback Control of Hormone SecrAlthough the plasma concentrations of many hormones fluctuate in response to various stimuli that occur throughout the day, all hormones studied thus far appear to be closely controlled. In most instances, word [lot more]
...
答案1
对结果进行管道处理[佐藤]
find |
| cut -c -80
或者
find ... \
| sed 's/^\(.\{80\}\).*/\1/'
或者
find - \
| perl -lpe 's/^.{80}\K.*//'
给出正确的输出。