I\'m trying to do something like
read -d EOF stdin for word in $stdin; do stuff; done
where I want to replace \'EOF\' for an actual repre
Two things...
The EOF character is represented by C-d (or C-v C-d if you want to type it), but to do what you're trying, it's better to do this:
while read line; do stuff "${line}"; done