mirror of
https://github.com/alebcay/awesome-shell.git
synced 2026-03-09 11:43:08 -05:00
Don't link to tldp.org for bash advice #24
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rpdelaney on GitHub (Dec 20, 2018).
shamelessly copy-pasted from exercism/bash/issues/171
tldp.org's shell scripting pages have very high Google page rank. They're detailed, extensive, and easy to read, and much of the information in there is useful. But the examples they use are very often riddled with code that runs between smelly and bug-prone to outright dead wrong and dangerous. An advanced bash scripter could maybe read through tldp and filter out the bad stuff, but pointing newbies there is a bad thing indeed because they will learn lots of bash anti-patterns.
The tldp bash pages are too expansive to make a detailed review of everything that's wrong with them, and I'm not the most qualified person in the world to do so anyway. But this reddit post by @geirha is as good a spot as any to start getting an idea of what I'm talking about.
Instead, consider linking only to these:
#bashIRC channel on freenode. Personally I don't think it's as useful overall as the links above, but it's still way better than tldp.