eyepopslikeamosquito, I agree with you on this point. I usually script entirely in Perl and shy away from shell scripts on principle.
In this instance, however, it was necessary to write a one-liner for inclusion in a previously existing shell script that couldn't have dependencies on external Perl scripts. An installation of Perl, however, is guaranteed on all target systems.
~RecursionBaneIn reply to Re^2: Command-line arguments to command-line Perl
by RecursionBane
in thread Command-line arguments to command-line Perl
by RecursionBane
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |