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.


16 visits (1 today, 3 this week, 4 this month, 16 this year)
Uptime: 22:26:07 up 4 days, 7:50, 2 users, load average: 0.02, 0.01, 0.00
216.73.216.91 GET from server z.lam1.us

Monday, November 3, 2025 @ 10:26:07 PM
z.ServerAdmin@lam1.us