Reputation: 1757
What does this $'\0'
mean in the -d
option for the read
command?
I understand it is being used as a delimiter for the read
command, but I'm lost with the syntax used.
find path/to -type f -print0 | while read -d $'\0' file; do
grep "Willy" "$file"
done
Upvotes: 2
Views: 137