http://qs1969.pair.com?node_id=1177181


in reply to Re: portability / system / elegance (updated)
in thread portability / system / elegance

I like this:

Although, if tshark is already in your $ENV{PATH}, why use which at all?

Just do a tshark command.

If it fails then tshark was not in a path to an executable and you get "Command not found".