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

Re: BASH: Sonderzeichen maskieren...



On 04.Feb 2005 - 00:01:10, Michelle Konzack wrote:
> Am 2005-02-03 19:56:52, schrieb Thorsten Buss:
> > Am Donnerstag, den 03.02.2005, 19:48 +0100 schrieb Andreas Pakulat:
> > 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.

Ich strafe dich ja ungern lügen ;-) aber:

andreas@morpheus:~/temp>for "i" in `find` ; do echo -ne "$i\n" ; done
bash: `"i"': not a valid identifier

Andreas

-- 
Executive ability is prominent in your make-up.



Reply to: