0

bash 以下几个语法的含义是什么?我不明白它的作用。

while IFS= read -d $'\0' -r file

也许有人可以将其分解,以便我可以理解并根据需要进行更改:

while IFS= read -d $'\0' -r file ; do
dir_list=("${dir_list[@]}" "$file")
done < <(find a_directory_here -mindepth 1 -maxdepth 1 -type d -print0)
4

0 回答 0