Hacker GitHub

← All repos

kidd/scripting-field-guide

View on GitHub ↗ ★ 57 CSS

A booklet on mid-advanced scripting techniques

4 mentions on Hacker News by 1 person: 0 stories, 4 comments · first 2020-09-07 · latest 2026-07-26

Mentions per year 4 mentions · busiest year 2026 (2)
20082026
  1. …it returns non-0" semantics. I've also written about this and other bash tricks over the years in https://github.com/kidd/scripting-field-guide/blob/master/bo... . You might like them :)
  2. …worry about the last line being a bit different than the rest I created a list of similar tricks in https://github.com/kidd/scripting-field-guide in case anyone wants to take a look
  3. …way to have more than one callback per signal, and created a system to have an array of callbacks: https://github.com/kidd/scripting-field-guide/blob/master/bo... A nice bonus is that it also keeps the return value of the last non-callback…
  4. …me 'stealing' some stuff for a kind of booklet I'm working on with several shell tips and tricks. https://github.com/kidd/scripting-field-guide/ PS: Any comments/PRs are super welcome there too
    comment by rgrau · 2020-09-07 · in Bash Pitfalls