Date: Sat, 01 Dec 2001 16:27:48 -0800 From: Darren Pilgrim <dmp@pantherdragon.org> To: freebsd-questions@freebsd.org Subject: Changing $IFS in a bash shell Message-ID: <3C097584.B51ECEBC@pantherdragon.org>
next in thread | raw e-mail | index | archive | help
I need to change &IFS to be just a newline character, so my for-in-do loop doesn't parse spaces in the item list as delimiters, but I can't seem to set $IFS properly. None of the following yeild the desired result: IFS=\012 IFS=\n IFS=^M What is the proper way to change $IFS? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C097584.B51ECEBC>