On Tue, Jul 01, 2003 at 06:52:26PM +0100, Colin Watson wrote: > On Tue, Jul 01, 2003 at 07:43:28AM -0600, Jamin W. Collins wrote: > > > This has been asked and answered a few times in the past. There are > > several ways to do it. Here is one: > > > > #!/bin/sh > > IFS=$'\n' > > > > for FILE in `ls -1`; do > > echo $FILE > > done > > FYI, Unix filenames are allowed to contain newlines.
Pick up new information every day. Cool. The above does still solve the OP's problem. -- Jamin W. Collins Linux is not The Answer. Yes is the answer. Linux is The Question. - Neo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]