6 ms·
To explain why you are being downvoted: It doesn't take care of the problem, it mitigates it. It tries to find the most POSIX-like shell. You still don't kno
by LukeShu 13y ago
To explain why you are being downvoted:
It doesn't take care of the problem, it mitigates it. It tries to find the most POSIX-like shell. You still don't know which shell that will be. And then, even if you did, you are still relying on external programs, which may all work differently than the ones on your box. Writing portable shell scripts is hard.