... but you can if you want ...$ wc -l existing_file > another_file
#!/usr/bin/perl -w my $file = shift; my @cmd = ( "wc", "-l", $file ); system( @cmd );
| Plankton: 1% Evil, 99% Hot Gas. |
In reply to Re: Count the number of lines in a file
by Plankton
in thread Count the number of lines in a file
by pastorizah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |