From owner-freebsd-questions  Sun Dec  2 15:56: 8 2001
Delivered-To: freebsd-questions@freebsd.org
Received: from spork.pantherdragon.org (spork.pantherdragon.org [206.29.168.146])
	by hub.freebsd.org (Postfix) with ESMTP id 713DC37B416
	for <freebsd-questions@FreeBSD.ORG>; Sun,  2 Dec 2001 15:56:05 -0800 (PST)
Received: from pantherdragon.org (unknown [4.61.200.192])
	by spork.pantherdragon.org (Postfix) with ESMTP
	id 539A7471E6; Sun,  2 Dec 2001 15:56:04 -0800 (PST)
Message-ID: <3C0ABF94.3024DEC1@pantherdragon.org>
Date: Sun, 02 Dec 2001 15:56:04 -0800
From: Darren Pilgrim <dmp@pantherdragon.org>
X-Mailer: Mozilla 4.76 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cjclark@alum.mit.edu
Cc: "Gary W. Swearingen" <swear@blarg.net>,
	freebsd-questions@FreeBSD.ORG
Subject: Re: Changing $IFS in a bash shell
References: <3C097584.B51ECEBC@pantherdragon.org> <20011201173255.N13613@blossom.cjclark.org> <ausnaup7da.nau@localhost.localdomain> <3C0AABE1.1DB4F9EC@pantherdragon.org> <20011202144947.B27117@blossom.cjclark.org>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-questions@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-questions.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-questions>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-questions>
X-Loop: FreeBSD.ORG

"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