[cfe-dev] 'sw_vers' on Linux

John Smith lbalbalba at gmail.com
Fri Apr 26 10:18:26 PDT 2013

On Fri, Apr 26, 2013 at 7:05 PM, Bob Wilson <bob.wilson at apple.com> wrote:
> Does the version of "which" on Linux and BSD support the -s (silent) option?  That would be slightly cleaner than redirecting to /dev/null.
Gnu '/usr/bin/which' on my Fedora 17 system does not. But why worry
about possibly non-portable options like '-s', when ">/dev/null 2&1"
will work on all *nix flavors ?

- John Smith

More information about the cfe-dev mailing list