Rick Cogley's Tech Logr

Short Technical Laser Bursts %%

RC Logr 20190209 120213

Saturday, 9 Feb, 2019

In shell scripting, besides the canonical way of checking a variable using [ -z = $1 ], you can also check using a kind of shorthand which is pretty portable; the noop colon, like so : ${1?ERROR specify the arg} 🍻

RC Logr 20190209 120213 - In shell scripting, besides … Rick Cogley
Back to Home