News for hackers. Stuff that matters.
Re:A surprise with how ' ' handles its program argument in p... by SAI_Peregrinus on Thursday November 20, 2025 @11:38AM (#45994542)
/bin/sh is NOT required by POSIX, they explicitly warn that it may not exist[1].

> Applications should note that the standard PATH to the shell cannot be assumed to be either /bin/sh or /usr/bin/sh, and should be determined by interrogation of the PATH returned by getconf PATH , ensuring that the returned pathname is an absolute pathname and not a shell built-in.

[1] https://pubs.opengroup.org/onlinepubs/9799919799/

There are no comments on this comment yet.