A recent comment said that we could reduce size by eliminating NSH.  However, 
this seems to introduce addition POSIX incompatibilies.

My reading from several discussions is that a POSIX shell is required to be 
present.  Here is some information from the Google AI (edited down):

Yes, POSIX requires a command-line shell.
To achieve full compliance with the POSIX 
standard<https://en.wikipedia.org/wiki/POSIX>, an operating system must provide 
a specific command-line interpreter known as the POSIX Shell, which is heavily 
based on the historical Bourne shell. This requirement is explicitly detailed 
in the "Shell and Utilities" volume of the specification (IEEE Std 1003.1).
Core Components Required by POSIX
The standard divides its system requirements into two primary environments: 
[1<https://venam.net/blog/unix/2017/06/04/system-calls.html>]

  *
Kernel and C API ...
  *
Shell and Utilities ...

Strict vs. Partial Compliance ...
So (1) how compliant is NSH?  (2) Removing NSH certainly makes the OS 
non-compliant.

Reference:  Here is the specific spec reference from the 2024 edition:  
https://pubs.opengroup.org/onlinepubs/9799919799/ and the 2018 edition 
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html

Reply via email to