in reply to Re^2: Using Perl saves time....
in thread Using Perl saves time....

Oh, you are right I did not have to use -1 (one) as ls|wc counts the same as ls -1|wc

You learn something every time...