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

Re: BASH: Sonderzeichen maskieren...



Am 2005-02-03 19:56:52, schrieb Thorsten Buss:
> Am Donnerstag, den 03.02.2005, 19:48 +0100 schrieb Andreas Pakulat:

> > >   for i in `find`; do cp $i /tmp; done
> > 
> > Ersetze $i durch "$i".
> 
> Geht nicht. for trennt nach Blank, so bekomme ich statt cp "t e s t.txt" /tmp 
> ein cp "t" /tmp und cp "e" /tmp.... 

Weil es zu spät gequotet wurde.
Das:
    for "i" in `find`; do cp "$i" /tmp; done

sollte funktionieren.

> :thorsten


Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: