Kai Gro�johann writes:
> Pete Forman <[EMAIL PROTECTED]> writes:
>
> > It fails on most of these if you force the use of the vanilla
> > Bourne shell, typically /bin/sh. They all have ksh which works
> > all the time and should have been found by rcp.el.
>
> Right now, rcp.el checks to see if the Bourne shell groks tilde
> expansion, and only if it doesn't, does rcp.el try to find a ksh or
> something.
>
> Do you think it would be better to always search for a ksh and to
> exec it, if present? (Though on Linux systems, the bash should be
> sufficient.)
On a default login without explicitly invoking a shell, all my systems
grok tilde expansion and test -nt. My default shell is /bin/ksh.
When /bin/sh is invoked, AIX 4.[123] alone groks tilde expansion. AIX
4.[123] and IRIX 6.5 grok test -nt.
When /bin/ksh is invoked, AIX 4.[123], IRIX 6.[25], ISC 4, and Solaris
2.5, 2.6 and 7 all grok tilde expansion and test -nt. None fail.
So none of these profiles grok tilde expansion but not test -nt. That
means that you should be reasonably confident that rcp-handle-file-
newer-than-file-p will not barf.
--
Pete Forman | Disclaimer: This posting is originated by
Western Geophysical | myself and does not represent the opinion
[EMAIL PROTECTED] | of Baker Hughes or its divisions.