2 ms·
I agree with you, but there's one fly in the ointment. POSIX Shell does not support local variables! Writing functions without being able to have local variable
by frou_dh 8y ago
I agree with you, but there's one fly in the ointment. POSIX Shell does not support local variables! Writing functions without being able to have local variables? That's pretty damn gross.
So I use the `local` keyword, and now my scripts aren't strictly POSIX Shell any more.