Now i want to get the total number of lines in the file. But the $returnVal only stores the status of execution of system command i.e.success or failure. Any idea how can i get it to return me the number of lines in the file. Thanks in advance Gauravmy $returnVal = system("wc -l fileName");
In reply to system command by megaurav2002
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |