每个子目录都有几个文件和一个for循环shell脚本。每个子目录中都有相同的for循环脚本。我想进入每个子目录,在几个终端中并行运行for循环脚本。我试过了,但它似乎是连续的(一个接一个),但是我想并行地运行它们。
find dir_* -type f -execdir sh for_loop.sh {} \;
下面是Gnu sed在https://www.gnu.org/software/sed/manual/sed.html上的文档摘录insert text before a line.This is a GNU extension to the
standard i command - see below for details.这两种语法的措辞有很大的不同。在过去,我认为他们有完全相同的行为,只