On 9/26/05, benjamin stathos <[EMAIL PROTECTED]> wrote:
> --- Doug Reich <[EMAIL PROTECTED]> wrote:
> > IFS="
> > " ; for I in `cat file.txt` ; do echo $I ; done
>
> I didn't know if the newline was supposed to be there or not, but
> IFS="" works. Thanks for your help!

Just FYI, try $(< file.txt)
it actually saves you typing one whole character! haha and you get get
rid of the ugly backticks ;)

Mike
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to