When UNIX was originally released the default shell was /bin/sh, the Bourne Shell written by Stephen Bourne. Make that the only shell. As new shells were written and added to the system, if they were backward compatible, they would end up having /bin/sh linked to them. I would never expect /bin/sh to be linked to a shell that wasn’t backwards compatible to Bourne shell, i.e. /bin/sh —> /bin/csh.
For portability reasons, I think using /bin/sh everywhere would provide the most portable programs, because you don’t assume greater functionality than the Bourne Shell. If you need some other shell, then you specify it, such as René suggestion of the shell subcommand. I think that most standards are that way too, POSIX, UNIX, etc. My $0.02 worth. Bruce > On Apr 19, 2017, at 1:32 PM, Erich Steinböck <erich.steinbo...@gmail.com> > wrote: > > 2. default shell > > Our code currently hard-codes the default shell for AIX to be "ksh", for SUN > to be "sh", and for all other Unix's to be "bash". Shouldn't the default be > "sh" all the time? With "sh" supposedly being symlinked to the preferred > shell for the specific platform?
signature.asc
Description: Message signed with OpenPGP using GPGMail
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel