From owner-freebsd-questions Sun Dec 2 14:32: 5 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 223D837B405; Sun, 2 Dec 2001 14:32:02 -0800 (PST) Received: from pantherdragon.org (unknown [4.61.200.192]) by spork.pantherdragon.org (Postfix) with ESMTP id 80D68471E6; Sun, 2 Dec 2001 14:32:01 -0800 (PST) Message-ID: <3C0AABE1.1DB4F9EC@pantherdragon.org> Date: Sun, 02 Dec 2001 14:32:01 -0800 From: Darren Pilgrim X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "Gary W. Swearingen" Cc: "Crist J . Clark" , freebsd-questions@FreeBSD.ORG Subject: Re: Changing $IFS in a bash shell References: <3C097584.B51ECEBC@pantherdragon.org> <20011201173255.N13613@blossom.cjclark.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I solved this one on the command line: $ IFS=" > " This gives the result I want insofar as how item list word-splitting works now: $ ls file 1 file 2 file 3 file 4 $ for dir in `find * -type f` ; do echo -n "test "; echo ${dir}; done test file 1 test file 2 test file 3 test file 4 Now, how do I do the above in a script? Like this? IFS=" " To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message