what does < < mean in the shell
Posted
by stib
on Stack Overflow
See other posts from Stack Overflow
or by stib
Published on 2010-03-14T17:49:18Z
Indexed on
2010/03/14
17:55 UTC
Read the original article
Hit count: 217
when looping recursively through folders with files containing spaces the shell script I use is of this form, copied from the internet:
while IFS= read -r -d $'\0' file; do
dosomethingwith "$file" # do something with each file
done < <(find /bar -name *foo* -print0)
I think I understand he IFS bit, but I don't understand what the < < characters mean. Obviously there's some sort of piping going on here..
It's very hard to google "< <", you see. TIA
-stib
© Stack Overflow or respective owner