I have a file with lines as follows:
...
... <230948203[234]>, ...
... <234[24]>, ...
..
I would like to use sed to remove the characters < , and > from every line
I tried using sed 's/<>,//g' but it didn't work (it didn't change anything). Do I need to escape these special characters. Is it possible to delete multiple characters using a single sed command?
bash-3.2$ echo "<230948203[234]>," | tr '<>,' ' '--> 230948203[234] --EDITED Thanks to Paul– Feb 29 '12 at 22:23tr -d '<>,' ''(as in Chris Down's answer). – Keith Thompson Feb 29 '12 at 23:23tr -d '<>,', without '' in the end, not? – user unknown Mar 01 '12 at 22:46