Quote:
Originally Posted by
MadeInGermany
is Bourne shell, works in any shell.
it is Bourne shell, yes, and will work in any shell compatible with the Bourne shell, yes, but will not work in shells not compatible with the Bourne shell.
Generally, backwards compatibility with the Bourne shell is of course a valuable asset nowadays. But wouldn't it be better to go the whole distance? The Bourne-shell was built as an extension to the Thompson-shell (osh) in which the backticks won't work either. To avoid backwards compatibility problems with systems lacking a Bourne-shell and having only a Thompson-shell (like, for instance, most pre-SysV-systems as well as perhaps all the Multics systems) maybe a completely different approach would be best?
Quote:
Originally Posted by
MadeInGermany
While
only works in ksh93 and bash and zsh
Actually it works in
any ksh, not only ksh93. In fact this is exactly what i said:
Quote:
Does the same in ksh and bash
I still have to see a "POSIX shell" which is not either a "POSIX-compatible ksh" or a "POSIX-compatible bash", therefore i think that the POSIX-issue is moot in this case.
I hope this helps.
bakunin