I've used -x to bundle shell scripts with Perl code, as in
#!/bin/sh complex-pipeline-with | perl -x "$0" | while read LINE ; do something-with-output done exit 0 ################### #!/usr/bin/perl -pl use strict; use warnings; # some relatively complex string mangling here
Makeshifts last the longest.
In reply to Re: the -x command line parameter
by Aristotle
in thread the -x command line parameter
by Shenpen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |