| Re: Getting loc Aaron Gray wrote:
> Hi,
>
> I have asked this question before but cannot find the thread on Google
> Groups.
>
> Basicaly I want a line of shell code that counts the number of non blank
> lines of code in a file, directory or directory tree.
>
> Many thanks in advance,
>
> Aaron
cat file(s) | grep -v '^$' | wc -l |