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.


38 visits (1 today, 9 this week, 19 this month, 38 this year)
Uptime: 11:33:15 up 16:12, 1 user, load average: 0.00, 0.00, 0.00
216.73.216.23 GET from server z.lamurakami.com

Friday, September 12, 2025 @ 11:33:15 AM
z.ServerAdmin@lam1.us