Discipulus has asked for the wisdom of the Perl Monks concerning the following question:
thanks for the attentionperl -e "map {print qq!\n$_\n\n!;open F,$_; while(<F>) {print qq!$.: +$_! if $_ =~/\[$ARGV[0]\]/ .. /\[\/$ARGV[0]\]/}close F; } glob +($ARGV[1])" tath_tag ./*/dir/*.ext
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: seeking oneliner improvement
by BrowserUk (Patriarch) on Nov 25, 2011 at 14:51 UTC | |
by jwkrahn (Abbot) on Nov 25, 2011 at 21:03 UTC | |
by Discipulus (Canon) on Nov 25, 2011 at 16:04 UTC | |
by BrowserUk (Patriarch) on Nov 25, 2011 at 16:21 UTC | |
|
Re: seeking oneliner improvement
by TJPride (Pilgrim) on Nov 25, 2011 at 16:25 UTC | |
by davido (Cardinal) on Nov 25, 2011 at 18:21 UTC |