News for hackers. Stuff that matters.
Re:The roots of an obscure Bourne shell error message by Izkata on Monday September 11, 2023 @09:43PM (#37476088)
"printenv" (or just "env", the one I habitually use) shows only environment variables, not all available functions and variables like "set" does.

But otherwise yeah, I also don't see this as obscure at all. Was expecting something confusing when, say, fiddling with arrays or something.

Re:The roots of an obscure Bourne shell error message by 1vuio0pswjnm7 on Monday September 11, 2023 @09:53PM (#37476163)
Good point about functions. Normally it's not something I notice because I'm not using Bash. But every once a while I use set in Bash and I'm blasted with a slew of preloaded functions.