Re: script Frage

From: Christian Weisgerber <naddy(at)mips.inka.de>
Date: Sat, 18 Apr 2009 21:55:01 +0000 (UTC)

Manfred Lotz <manfred.lotz(at)arcor.de> wrote:

> Ich kann in einem Script schreiben:
>
> cmd1 &&
> cmd2 &&
> cmd3
>
> ohne \ als continuation character zu benutzen.

Ja.
Übrigens erlaubt die Shell-Grammatik auch

  cmd1 |
  cmd2

Und im Gegenzug

  cmd1 & cmd2

auf einer Zeile.

> Frage: Sollte ich sowas dennoch vermeiden und lieber \
> benutzen?

Wie es dir gefällt.

-- 
Christian "naddy" Weisgerber                          naddy(at)mips.inka.de
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Sat 18 Apr 2009 - 23:55:09 CEST

search this site