Search Results

Search: Posts Made By: aaruncee
4,342
Posted By aaruncee
Yes, it have to be done in vi. thanks
Yes, it have to be done in vi.

thanks
4,342
Posted By aaruncee
Results: dog1!cat! dog2!bird! dog1!fish! ...
Results:
dog1!cat!
dog2!bird!
dog1!fish!
dog2!lion!

substitute pattern match failed

Any idea?
4,342
Posted By aaruncee
with your script result are: dog1!cat! ...
with your script result are:
dog1!cat!
dog2!NULL!
dog1!fish!
dog2!NULL!

but my expected result are from:
dog1!cat!
dog2!bird!
dog1!fish!
dog2!lion!
...
to:
dog1!bird!
dog2!NULL! ...
4,342
Posted By aaruncee
Replace string in vi
Hello,
Need vi script.
file:
dog1!cat!
dog2!bird!
dog1!fish!
dog2!lion!
...
expected:
dog1!bird!
dog2!NULL!
dog1!lion!
dog2!NULL!
...
Need replace from dog2!"word"! to dog1!"word"! and...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 11:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy