Ask HN: How to be a good bash script writer?

https://news.ycombinator.com/item?id=10045775
by KRuchan • 11 years ago
2 1 11 years ago

Assume elementary knowledge - pipes, redirection, awk/sed/cut/standard Unix tools.

How does one get to writing scripts that are -

(a) portable

(b) easy to debug

(c) clean and easy to modify

Where can I find good sample scripts?

Related Stories

Loading related stories...

Source preview

news.ycombinator.com