Shell script to delete some lines...
I have a text file as follows :
The first column is the serial no.
I want to delete all the lines which does not start with the serial number.
How can it be done using shell script or sed ?
Assuming your serial number is exactly 4 digits - if it isn't, you'll need to explain the rules
Or use the same regex, but instead extract all the wanted lines with grep.
|All times are GMT -5. The time now is 03:04 AM.|