in reply to Enclosing one-liner in a bigger loop - unix
Just replace the filename with a wildcard such that your command line becomes
perl -lne '/^([^\t]*)\t/; $hash{$1}++}{print $_ foreach(keys %hash)' *Is that all you were after?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Enclosing one-liner in a bigger loop - unix
by baxy77bax (Deacon) on Apr 24, 2015 at 08:59 UTC | |
by Eily (Monsignor) on Apr 24, 2015 at 09:13 UTC |