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.


31 visits (2 today, 2 this week, 12 this month, 31 this year)
Uptime: 18:38:18 up 1 day, 21:54, 2 users, load average: 0.07, 0.02, 0.00
216.73.216.136 GET from server z.larryforalaska.com

Sunday, September 7, 2025 @ 6:38:18 PM
z.ServerAdmin@lam1.us