Hallo, Am Thu, 18 Mar 2004, Joachim Kieferle schrieb:
vielen Dank. Es funktioniert sowohl die "> /dev/null 2>&1" als auch "&>/dev/null". Beidesmal werde ich von Mails "verschont". Welche Lösung jetzt besser ist, kann ich leider auch nicht sagen, aber vielleicht kann das jemand erläutern?
Beides sind aequivalente Umleitungen. Erste Fundstelle von '&>' in man bash: ==== man -P'less +/\&\>' bash ==== There are two formats for redirecting standard output and standard error: &>word and >&word Of the two forms, the first is preferred. This is seman tically equivalent to >word 2>&1 ==== Fuer "word" haben wir im Beispiel "/dev/null". -dnh -- If you haven't got time to RTFM, you haven't got time to whine on this mailing list.