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

Re: Script aufruf



Thorsten Haude <debian@thorstenhau.de> wrote:
> * Andreas Metzler <ametzler@downhill.at.eu.org> [2002-12-21 10:16]:
[...]
>>*prompt* for files in x y  ; do ; echo $files ; done
>>bash: syntax error near unexpected token `;'
>>*prompt* for files in x y  ; do echo $files ; done
>>x
>>y
>>----------------------------------

> - - - Schnipp - - -
> yooden@eumel> ls file.c macro.c
> file.c  macro.c
> yooden@eumel> for file (file.c macro.c); do ls $file ; done
> file.c                                
> macro.c
> yooden@eumel> for file (file.c macro.c); do; ls $file ; done
> file.c
> macro.c
> - - - Schnapp - - -

Du hast eine seltsame shell oder sie ist sehr seltsam konfiguriert:
-------------------
*prompt* touch file.c macro.c
*prompt* for file (file.c macro.c); do; ls $file ; done
bash: syntax error near unexpected token `(f'
*prompt* ametzler@downhill:/tmp> for file (file.c macro.c); do ls $file ; done
bash: syntax error near unexpected token `(f'
*prompt* bash --version
GNU bash, version 2.05a.0(1)-release (i386-pc-linux-gnu)
Copyright 2001 Free Software Foundation, Inc.
-------------------

Ash verhaelt sich gleich. BTW du siehst schon, dass ein
grundsaetzlicher Unterschied zwischen "for steine in zwetscken; do"
und "for kerne (aepfel birenen) ; do " besteht.
              cu andreas
-- 
Hey, da ist ein Ballonautomat auf der Toilette!
Unofficial _Debian-packages_ of latest unstable _tin_
http://www.logic.univie.ac.at/~ametzler/debian/tin-snapshot/



Reply to: