[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug in cron postinst



On Wed, Sep 03, 2003 at 05:20:54PM +0100, Colin Watson wrote:

> > mrvn@dual:/tmp/bar% bash
> > bash-2.05b$ L=`find`              
> > bash-2.05b$ for i in $L; do echo $i; done
> > .
> > ./a
> > b
> 
> No wonder. You aren't quoting correctly! Use 'echo "$i"'.

there:[~] /bin/bash
mdz@there:~$ foo="a b"
mdz@there:~$ for x in $foo; do echo "$x"; done
a
b

-- 
 - mdz



Reply to: