8.6.07

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.

Redirecting to /dev/null is Ugly

technorati tags:,

Keine Kommentare: