unixwhoopie
Programmer
I have an external system create a file which contains the number of lines in the file. I need to make sure that this number is correct. So as soon as the file is created, I need to count the number of lines in the file and edit it if the information in the file is not correct. Any ideas how to edit a text file after it is generated?
Thanks,
Thanks,