in reply to seeking oneliner improvement
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: seeking oneliner improvement
by jwkrahn (Abbot) on Nov 25, 2011 at 21:03 UTC | |
|
Re^2: seeking oneliner improvement
by Discipulus (Canon) on Nov 25, 2011 at 16:04 UTC | |
by BrowserUk (Patriarch) on Nov 25, 2011 at 16:21 UTC |