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

Re: Script aufruf



Moin,

* Andreas Metzler <ametzler@downhill.at.eu.org> [2002-12-21 10:16]:
>Thorsten Haude <debian@thorstenhau.de> wrote:
>> Also ein Skript habe ich nicht extra erstellt, aber bei mir klappt das
>> mit ; ganz ausgezeichnet. Ohne allerdings auch.
>
>Zeig uns die verwendete Zeile _genau_, hier funktioniert mit ';'
>naemlich nicht.
>----------------------------------
>*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 - - -


Thorsten
-- 
The best leaders are those barely known to their followers; after them, those
they love; after them, those they fear; after them, those they despise.
    - Lao Tzu



Reply to: