Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Dec 2001 15:56:04 -0800
From:      Darren Pilgrim <dmp@pantherdragon.org>
To:        cjclark@alum.mit.edu
Cc:        "Gary W. Swearingen" <swear@blarg.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Changing $IFS in a bash shell
Message-ID:  <3C0ABF94.3024DEC1@pantherdragon.org>
References:  <3C097584.B51ECEBC@pantherdragon.org> <20011201173255.N13613@blossom.cjclark.org> <ausnaup7da.nau@localhost.localdomain> <3C0AABE1.1DB4F9EC@pantherdragon.org> <20011202144947.B27117@blossom.cjclark.org>

next in thread | previous in thread | raw e-mail | index | archive | help
"Crist J . Clark" wrote:
> > Now, how do I do the above in a script?  Like this?
> 
> Actually, after all of this trying to get a newline in IFS, I think,
> 
>   $ IFS=""

This won't work, because if IFS is not defined it the shell defaults
to tab, space, and newline as delimiters.

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?3C0ABF94.3024DEC1>