Thread
Shell-Script
(4 answers)
Opened by Gast at
2008-04-08 12:52
betterworld
2008-04-08 15:46
User since
2003-08-21
2614 Artikel
ModeratorIn
Wenn's länger wird, spart man sich lieber das '&&' und nutzt stattdessen -e:
Code: (
dl
)
1
2
3
4
set -e
befehl1
befehl2
befehl3
Das Script bricht ab, sobald einer der Befehle einen Fehler zurueckgibt.
Lieblingsmodule:
IPC::System::Simple
,
Path::Class
View full thread
Shell-Script