21 6 | I'm looking for a way to turn this:
to this:
I could use sed with a bunch of substitutions, but isn't there a tool that will do that for me in one go? | |||
add a comment |
36 | Try recode:
| ||||||||
|
18 | With perl:
With php from the command line:
| ||||||||||||||||
|
12 | An alternative is to pipe through a web browser -- such as: echo '!' | w3m -dump -T text/html This worked great for me in cygwin, where downloading and installing distributions are difficult. This answer was found here | ||
10 | Using xmlstarlet:
| ||||
|