printf $(echo -n $1 | sed 's/\\/\\\\/g;s/\(%\)\([0-9a-fA-F][0-9a-fA-F]\)/\\x\2/g')
My version uses printf and command substitution ($()) instead of echo -e and xargs, this is a few less chars, but not real substantive difference. Also supports lowercase hex letters and a backslash (\) will make it through unescaped
Sample Output
Hello World


By: infinull
2009-11-25 04:27:39

6 Alternatives + Submit Alt

What Others Think

link decoding is a process that removes the link between two related content within your website. I prefer to check this essay writing strategies and learn more new tips about quality tasks. It's performed by using several tedious technical procedures and it's prone to human error. It can be done by either a self-taught user or by professional software. Using a Web page as a reference, a developer utilizes link decoders to decode the URL to the content.
MaryGarrison · 17 weeks and 3 days ago
It's performed by using several Go Now tedious technical procedures and it's prone to human error. It can be done by either a
BrianWinters · 17 weeks and 2 days ago
It's performed by using several tedious technical procedures and it's prone to human error. It can be done by either a self-taught user or by professional software. Fullerton Bathroom Remodel Services
richardsromero27 · 17 weeks and 1 day ago
Your writing is really great. I’m so glad I read it. It kept me hooked the whole way through. mybkexperience mykfcexperience mybpcreditcard
jacobhue · 16 weeks and 2 days ago
Most providers of eSignature services like signnow.com/ask/what-is-the-difference-between-a-signature-stamp-and-an-electronic-signaturehave the option to access the history of each document and download it. History can also assist in audits of your team, or to pursue or protect from official courses of action, if necessary.
seoexpert · 10 weeks and 6 days ago
unnecessary steps have been very difficult to get filled which teases people to register. But now as electronic-signature has come in the market they have eliminated such steps. By this it will save time.
seoexpert · 10 weeks and 6 days ago
I appreciate your sharing on interesting programming codes. I also developed the cookie clicker with loads of complex code to launch the most popular online game.
wardrose8 · 10 weeks and 3 days ago
I just couldn't leave your website before telling you that I truly enjoyed the top quality info you present to your visitors? Will be back again frequently to check up on new posts. How long does credit repair take
seoexpert · 8 weeks and 6 days ago
For me, this is very interesting and useful information. I enjoy reading your posts. phoodle
Billie34 · 1 week and 1 day ago
Url decoding is the process of converting a URL into an equivalent address. This is needed by Google when recording your traffic. The process of converting the URL and creation of an equivalent address is known as URL decoding. Need you can check https://www.jguru.com/can-mobile-gambling-be-safe-and-convenient/ to learn more new ways related to the casino. When you enter a link to your website or another online resource, Google needs to convert it into an equivalent address in order to be able to properly analyze and report on its usage.
Wiltionew1928 · 1 day ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands

Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: