相关疑难解决方法(0)

"<<(cmd args)"在shell中意味着什么?

当通过包含空格的文件的文件夹递归循环时,我使用的shell脚本是这种形式,从互联网复制:

    while IFS= read -r -d $'\0' file; do
      dosomethingwith "$file"        # do something with each file
    done < <(find /bar -name *foo* -print0)
Run Code Online (Sandbox Code Playgroud)

我想我理解IFS位,但我不明白' < <(...)'字符是什么意思.显然这里有一些管道.

你知道,谷歌"<<"非常难.

bash shell built-in

31
推荐指数
3
解决办法
1万
查看次数

标签 统计

bash ×1

built-in ×1

shell ×1