Search Results

Search: Posts Made By: mukeshbaranwal
3,771
Posted By mukeshbaranwal
Replace a word in a string starting with another word
Hi All,

I have a file in which a number of lines are starting with similar first word but different next words.
I want to replace the any nth word(not 1st or 2nd) with another word.

Eg:- My...
3,175
Posted By mukeshbaranwal
Hi Anchal, I am still in same place. It is not...
Hi Anchal, I am still in same place. It is not replacing, just printing my desired requirement.
Thanks
3,175
Posted By mukeshbaranwal
awk command is not working, it is printing the my...
awk command is not working, it is printing the my desired output, but not replacing the actual file.
I can redirect the output, but it may be a little more long in terms of line of code.

Thanks...
3,175
Posted By mukeshbaranwal
sed command to replace a character at last
Hi All,
I have a file having one line only.
It is like
trapsess:inform|10.232.167.18|1|1|50|25|0|0|0|5|1|1|78|0037|

I want to replace the numbers in last two columns by As.

It should look...
Showing results 1 to 4 of 4

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