Hard to test locally, but this should be (roughly) equivalent
perl -s -e"BEGIN{@ARGV=glob@ARGV}" -nle"/\[$TAG\]/../\[\/$TAG\]/&& print qq[$ARGV($.):$_]" -TAG=tath_tag ./*/dir/*.ext
In reply to Re: seeking oneliner improvement
by BrowserUk
in thread seeking oneliner improvement
by Discipulus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |