Replace after nth occurence
Hi,
I need some help with following:
I have a file wich contains the following:
123;345;456;335;234;244;245;2345;234;234;345;
There are 11 semicolons in this, I would like to have an output where after the 8th semicolon all semicolons are replaced by space (" ") so the output will be:
123;345;456;335;234;244;245;2345;234 234 345
I tried some sed functions, but could not execute the proper command.
Hope you can help me out.
Thanks.
Sampat
|