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

Re: for i in *



On Sun, 20 May 2001, Philipp Lehman <lehman@gmx.net> wrote:

>On Sun, 20 May 2001, Hans <hansfong@zonnet.nl> wrote:
>
>>I still don't understand the proper syntax for this: I want to process
>>multiple files, e.g. symlinking a bunch or converting graphics.
>>
>>for i in *;do 'ln -s $i /home/newdir/$i';done
>              ^^^                      ^^^
>
>You need grave accents here.

Ouch! You don't need _any_ quotes in this case, sorry. What I was
trying to say was that you shouldn't confuse accents and single quotes
as they have different meanings in bash.

-- 
Philipp Lehman <lehman@gmx.net>



Reply to: