Welcome to the age old headache of the shell programmer. Each utility can/will be in different locations among differing OS's, and their command switches and default output will certainly be different. I think this was a reason Perl became popular as a cross-OS scipting language, no?
Perhaps look into the Perl Power Tools, which are pure-Perl versions of many Unix utilities.
In reply to Re: External Dependencies on Unix Commands
by perigeeV
in thread External Dependencies on Unix Commands
by hackdaddy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |