Search Results

Search: Posts Made By: rajv
2,989
Posted By guruprasadpr
$ cat fil 1234__abc|John__abc|xyz ...
$ cat fil
1234__abc|John__abc|xyz
3345__abc|Kate__abc|xyz
55344|Linda__abc|xyz
33434|Murray|xyz

Output:
$ awk -F"|" '{sub("__abc","",$2);}1' OFS="|" fil
1234__abc|John|xyz...
Showing results 1 to 1 of 1

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