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.


20 visits (1 today, 7 this week, 19 this month, 20 this year)
Uptime: 08:14:45 up 16:31, 2 users, load average: 0.04, 0.08, 0.04
216.73.216.84 GET from server z.larryforalaska.com

Tuesday, December 16, 2025 @ 8:14:45 AM
z.ServerAdmin@lam1.us