Am Mittwoch 01 August 2007 16:35:44 schrieb Robert Huff:
>       Is there a way within the script - or, failing that, by
> modifying FILE - to not break at the whitespace?

If you're using bash, set IFS to the newline only before looping. I guess the 
tcsh also has a similar setting, but I wouldn't know where to look.

---
IFS="
"

for i in `cat file`
do
        ...
done
---

HTH!

-- 
Heiko Wundram
Product & Application Development
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to