Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
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)