Bri*_*ick 3 pipe find gnu-parallel
我有一个目录
~/root/
|-- bar
|-- eggs
|-- foo
|-- hello.txt
|-- script.sh
`-- spam
4 directories, 2 files
Run Code Online (Sandbox Code Playgroud)
find . -type d
在~/root/
收益中发行
.
./spam
./eggs
./bar
./foo
Run Code Online (Sandbox Code Playgroud)
然而,发行find . -type d | parallel "echo {}" ::: *
收益率
bar
eggs
foo
hello.txt
script.sh
spam
Run Code Online (Sandbox Code Playgroud)
为什么非目录hello.txt
和script.sh
管道在这里?