Hello
I've serached the forum but could not find a thread to help me with my sed problem.
I have two lines in a file:
-------------------------------------
db2rbind DUMMY /l <path>\bindall_DUMMY.log,/u xxxx,/p yyyy
db2 "flush package cache dynamic",,
-------------------------------------
What i'm not able to do is to replace ,/u xxxx with blank/u xxxx and ,/p yyyy with blank/p yyyy -> blank as blank not as word.
As well i want to replace ,, with no characters -> delete ,,
Thank's vino. Second part (-e "s/,,//g") works fine.
First part: sed: 0602-404 Function s/,/u / /u /g cannot be parsed.
What i want to do is to replace the input
db2rbind DUMMY /l <path>\bindall_DUMMY.log,/u xxxx,/p yyyy with
db2rbind DUMMY /l <path>\bindall_DUMMY.log /u xxxx /p yyyy
There are blanks between log and /u and between xxxx and /p