[SunHELP] help with script

Kurt Huhn sunhelp at sunhelp.org
Fri Nov 2 06:33:26 CST 2001


> I have a problem with the following script under Solaris 8 on Sparc: I am
> trying to count the lines in a file but the output of 'linecount' is
always

Have you decided not to use wc?   You can use "wc -l [filename]"  to get the
total number of lines - slightly easier.  It also lends itself to scripting
a little better.

Kurt




More information about the SunHELP mailing list