hi Disillusionist,
Thank you for the reply.
The input are all java files so i can give u the input.
Expected Ouput is:
Quote:
Filename|Line no|String Found
|
Regardinig your second question,
Am using "|" as a delimiter because my search files can contain ",".
Your given code is working for windows directory containg c:\.. in some files i have directories with c:/...
Also taking a lot of time..
The above code would not replace with | if it encounters a \. and you have put another \ to escape the meaning of \.(Please do correct if my understanging is wrong)
Can you please tell me how to include / as well.??
Also, please tell me the usage of
in sed command.(since am new to sed)