find ... -exec cat ...
显示太快,要回滚才能看到前面的
期望每找到一个文件,显示完暂停(等待按键,如空格)再继续下一个文件
显示太快,要回滚才能看到前面的
期望每找到一个文件,显示完暂停(等待按键,如空格)再继续下一个文件
|
1
我记得 xargs 有这个功能
|
|
2
觉得还是把结果 > 出来更方便一些
|
|
3
less?
|
|
4
for line in `find ./ -type f |xargs -n1`; do echo $line; read -rsp $'Press any key or wait 5 seconds to continue...\n' -n 1 -t 5; done;
你看这样行不行 |
|
5
| less
| vim - |