I am not quite getting what you are trying to say i have already redirected the output to test.dat. When we do a more of test.dat it has the line count followed by the filename/filepath. What i desire is only the count and excluding the trailing filename/filepath since i want it to be assigned to a varaible for further operation
I am not quite getting what you are trying to say i have already redirected the output to test.dat. When we do a more of test.dat it has the line count followed by the filename/filepath. What i desire is only the count and excluding the trailing filename/filepath since i want it to be assigned to a varaible for further operation