in reply to (jeffa) 2Re: How To Count Lines In File?
in thread How To Count Lines In File?

Is there any gain in using globs over the variables themselves

If you can answer the question "is there any gain in using perl -ple '}{*_=*.}{' file over wc -l file", you can figure out the other question yourself.

Abigail

Replies are listed 'Best First'.
Re: Re: How To Count Lines In File?
by Anonymous Monk on Jan 27, 2003 at 22:19 UTC

    not all systems have wc - now what about the globs?

      Not all systems have perl either - now about those globs: no gain.

      -sauoq
      "My two cents aren't worth a dime.";