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?
In reply to Re: Enclosing one-liner in a bigger loop - unix
by hippo
in thread Enclosing one-liner in a bigger loop - unix
by baxy77bax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |