dash, getconf and a POSIX sh
Making /bin/sh be 'dash' is fine except that (because
'dash' is a mere aspiring POSIX shell) the following method to locate the POSIX shell is broken because it resolves back to '/bin/dash'. PATH=`getconf PATH` which sh To fix this you may have to have a new directory, for example, /usr/posix/bin, that contains 'sh' as a symlink to /bin/bash, then make `getconf PATH` return /usr/posix/bin:/bin/:/usr/bin Now "PATH=`getconf PATH` which sh" will be '/bin/bash' and you can tell everyone how to find a POSIX shell on an Ubuntu system For more backup on this See http://www.opengroup.org/platform/resolutions/bwg2000-004.html -- ubuntu-devel mailing list ubuntu-devel@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel |
dash, getconf and a POSIX sh
On Sat, Nov 24, 2007 at 09:28:17PM -0500, Jim Lowe wrote:
> Making /bin/sh be 'dash' is fine except that (because > 'dash' is a mere aspiring POSIX shell) How so? dash claims to be fully POSIX compliant. If you found something missing, please report it as a bug. Marius Gedminas -- Science is to computer science as hydrodynamics is to plumbing. -- ubuntu-devel mailing list ubuntu-devel@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel |
| All times are GMT. The time now is 11:53 AM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.