Date: Sat, 1 Dec 2001 20:33:54 -0500 From: parv <parv_@yahoo.com> To: Darren Pilgrim <dmp@pantherdragon.org> Cc: freebsd-questions@freebsd.org Subject: Re: Changing $IFS in a bash shell Message-ID: <20011201203354.A98528@moo.holy.cow> In-Reply-To: <3C097584.B51ECEBC@pantherdragon.org>; from dmp@pantherdragon.org on Sat, Dec 01, 2001 at 04:27:48PM -0800 References: <3C097584.B51ECEBC@pantherdragon.org>
next in thread | previous in thread | raw e-mail | index | archive | help
in message <3C097584.B51ECEBC@pantherdragon.org>, wrote Darren Pilgrim thusly... > > I need to change &IFS to be just a newline character, ... ... > 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? this seemed to work for me in a sh script... 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?20011201203354.A98528>
