Unofficial Shell Scripting Stylesheet

32.1. Unofficial Shell Scripting Stylesheet

 

... reading the UNIX source code to the Bourne shell (/bin/sh). I was shocked at how much simple algorithms could be made cryptic, and therefore useless, by a poor choice of code style. I asked myself, "Could someone be proud of this code?"

--Landon Noll

Notes

[1]

In this context, "magic numbers" have an entirely different meaning than the magic numbers used to designate file types.


182 visits (2 today, 6 this week, 13 this month, 182 this year)
Uptime: 22:37:43 up 8 days, 4:05, 1 user, load average: 0.00, 0.00, 0.00
216.73.216.8 GET from server z.lamurakami.com

Tuesday, July 8, 2025 @ 10:37:43 PM
z.ServerAdmin@lam1.us