Find in files: zero pad line numbers
Posted: Thu May 10, 2007 9:54 pm
I often use find in files and then save the results to a text file and sort on a column number. I want to keep the file name and line number so that I can always resort to get the original order or to manually search the original file. This would be easier if the file number was left padded with zeroes. e.g. if a file has 100 to 999 lines then give a 3 digit line number e.g. (003) (029) (487). Loved TextPad for many years now! Thanks for a great product!