• To print number of lines in a file
    By : Senthil Murugan ( Tue Sep 19 01:33:15 2006 )

    perl -e '@lines=<>print $#lines+1,"\n";' filename

    Return to article...



    UNIXguide.net
    Suggest a Site