\| to make multiple substitution with one string. \| works like OR:sed "s/\d034\|\d039\|(\|)/\n/g" input.txt > output.txtThis example will replace ", ', ( and ) with new line character \n.\n works like html tag <br /> - brake rule.Related links:
https://edoras.sdsu.edu/doc/sed.html
Related files:
No comments:
Post a Comment