in reply to Matching lines in a file that end in numbers (was: regular expression)
The logic will eat 1997 & 100 & 2000 in the above code. I unable to come with a regular expression in a single line. But alleast it tells me which programs having such problem to note down. I am editing those programs in a text editor using vertical block mode editing and deleting those numbers before compiling. I thought it works with a single line regular expression. But it looks I need to go for a script to add more conditions. I appreciate your help. Thanks Ashok/* Developed in 1997 by some xxxx */ #define m 100 100020 #define n 2000 100040
|
|---|