On Mon, 2003-04-14 at 14:22, Ron Johnson wrote:
> Hi,
>
> This is a common newbie problem, but I don't know quite how to
> frame a google search...
>
> $ ls -1 |grep ' '
> foo bar
> foo snafu
> $
> $ for f in `ls -1 |grep ' '`;
> > do
> > echo "$f";
> > done
> foo
> bar
> foo
> snafu
>
>
> Naturally, I don't want that!!! What's the magical sequence of
> characters to get it to print out the complete file names?
Working with mp3 files?
IFS='
'
for i in file $(ls -A);do
echo $i
done
-- Craig Jackson Wildnet Group L.L.C. 103 North Park, Suite 110 Covington, Louisiana 70433 985 875 9453 ___________________ Nolug mailing list nolug@nolug.orgReceived on 04/16/03
This archive was generated by hypermail 2.2.0 : 12/19/08 EST