Help for this page

Select Code to Download


  1. or download this
     cat text.txt|wc -l| sed 's/^[ \t]*//'|sed 's/[ \t]*$//'
    
  2. or download this
    #!/usr/bin/perl
    
    system( "cat text.txt|wc -l| sed 's/^[ \t]*//'|sed 's/[ \t]*$//'" );