Search found 3 matches
- Thu Jul 21, 2011 1:08 pm
- Forum: General
- Topic: How to replace a string in diff. files with incremental valu
- Replies: 1
- Views: 281
Thanks for the reply, What you were saying is within a same file. But I need incremental value in different files. we have a string which repeats in each and every record. So we have to write a script in ksh which finds that string on each line and replaces it with a new string(incremental value) fo...
- Wed Jul 20, 2011 5:34 pm
- Forum: General
- Topic: How to replace a string in diff. files with incremental valu
- Replies: 1
- Views: 281
How to replace a string in diff. files with incremental valu
How to replace a string in diff. files with incremental values. For example-
In 1st file I need '1'
In 2nd file I need '2'
In 3rd file I need '3'.. so on
Please help
In 1st file I need '1'
In 2nd file I need '2'
In 3rd file I need '3'.. so on
Please help
- Thu Sep 16, 2010 6:00 pm
- Forum: General
- Topic: Regular expression for insert 'file name'
- Replies: 1
- Views: 277
Regular expression for insert 'file name'
Can anyone please tell me what is the Regular expression to insert 'file name' in middle of the file.
for example : I want to replace the wold 'pad' at 7th line with file name.
for example : I want to replace the wold 'pad' at 7th line with file name.