0

I have an input string which is a comma separated like this "Done, Completed, Closed" which I want to transform into like this using sed (stream editor) Done|Completed|Closed
The condition is there should not be any whitespaces in the final output string (Done|Completed|Closed).
An input string c...