Tricky grep question
I'm trying to return the lines from a file that contain a comma in any of the first 9 characters. Any other characters are fine, as long as there's a comma somewhere in the first 9 characters. This needs to run from a commandline. Any suggestions?
|
How about
Code:
grep "^.\{0,8\}," myfile |
All times are GMT -5. The time now is 04:11 AM. |