Wo er Recht hat ...
Title: Redirecting to /dev/null is Ugly
Published: 05-31-2007
Many people use 2>/dev/null or 2>/dev/null >&2 when throwing away output from a program. This is ugly. Instead just close the file descriptor: 2>&- or 2>&- >&2.
Auf dem Laufenden über alles was den Georg so "bewegt"
Title: Redirecting to /dev/null is Ugly
Published: 05-31-2007
Many people use 2>/dev/null or 2>/dev/null >&2 when throwing away output from a program. This is ugly. Instead just close the file descriptor: 2>&- or 2>&- >&2.
Eingestellt von Georg Bischof um 09:46
Keine Kommentare:
Kommentar veröffentlichen