Hi ,
I need some help on perl/sed conditional replacement
The situation is like below .
I have a file contents like below .
AAA|BBB|CCC|DDD
AAA|BCF|CCC|HHH
AAA|BVF|JJJ|KKK
Here in the above file . I know my second column value (taking "|" as my delimited )
Basically I have to search for 2nd columm value and replace the 3rd column value in that pattern matching line to some valu i say .
say I know BBB in my first row .I have to replace CCC with whatever data I send .
Thank in advance
--rob