From Dev.to
cat < /proc/self/environ reads zero bytes from a full file
Yesterday I gave a thread a guard clause for environment scans: prove the read worked before you trust the result. I recommended test -s "$f" || exit 1, then ran my own advice against my own machine a...
