4 ms·
Portuguese speakers have counted for a long time with this gem, simply the best Bash doc/cheat sheet I've ever seen on the web. This is probably my oldest bookm
by guhcampos 9y ago
Portuguese speakers have counted for a long time with this gem, simply the best Bash doc/cheat sheet I've ever seen on the web. This is probably my oldest bookmark still relevant after 15 years.
It's in portuguese and I'm not sure if there's an official translation, yet it's easy enough to decipher if you know bash, and Google Translate will do a pretty decent job.
I gift you "Aurelio's Swiss Army Knife of the Bash Shell" - http://aurelio.net/shell/canivete/ http://aurelio.net/shell/canivete/
- icebraining 9y agoAh, curious. Despite being a native Portuguese speaker, ever since I learned English well enough (which was before I started using Linux), I always search for stuff in English, so I never came across that guide. That said, that guide doesn't seem to have the tricks from the top article, at least 1-4.
- gerdesj 9y agoThanks for the heads up - it does work via translate. I'll drop this: http://tldp.org/LDP/abs/html/ http://tldp.org/LDP/abs/html/ If anyone, who has to do anything BASH related, has not seen it then they should!
- gdavisson 9y agoI'd recommend against the Advanced Bash-Scripting Guide -- it uses a lot of bad practices (like unquoted variable references!) that you're better off not learning. Instead, check out http://mywiki.wooledge.org/BashGuide http://mywiki.wooledge.org/BashGuide and http://mywiki.wooledge.org/BashFAQ http://mywiki.wooledge.org/BashFAQ. Also, http://www.shellcheck.net http://www.shellcheck.net is a good automated tool for sanity-checking syntax errors and common mistakes.
- bewuethr 9y agoAurelio is the madman/genius behind Arkanoid in sed[1], Sokoban in sed[2] and sedsed, a sed debugger[3]. I have no trouble believing that he has a few shell tricks up his sleeve. [1]: http://aurelio.net/projects/sedarkanoid/ http://aurelio.net/projects/sedarkanoid/ [2]: http://aurelio.net/projects/sedsokoban/ http://aurelio.net/projects/sedsokoban/ [3]: http://aurelio.net/projects/sedsed/ http://aurelio.net/projects/sedsed/