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.


59 visits (1 today, 6 this week, 14 this month, 59 this year)
Uptime: 08:05:24 up 10 days, 18:08, 4 users, load average: 0.00, 0.01, 0.00
3.137.168.72 GET from server z.lam1.us

Friday, April 11, 2025 @ 8:05:24 AM
z.ServerAdmin@lam1.us