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".
In reply to Re^2: portability / system / elegance (updated)
by Marshall
in thread portability / system / elegance
by skendric
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |