Sheldon Hearn wrote:

> cd /tmp
> echo .`cd /`.
> pwd
> 
> Any takers?

The patch appended seems to fix this, I'd like someone familiar
with sh to review it though, since this may be symptomatic of
a general problem with command substitution.

> PS: And no, this is not an invitation to chat about the default shell
>     for the base system. :-)

You're hinting it should be /bin/sh for root, right?

Regards,

Niall


*** eval.c~     Mon May 10 16:10:16 1999
--- eval.c      Mon Jul 12 18:27:44 1999
***************
*** 710,715 ****
--- 710,716 ----
            && ((flags & EV_EXIT) == 0 || Tflag))
         || ((flags & EV_BACKCMD) != 0
            && (cmdentry.cmdtype != CMDBUILTIN
+                || cmdentry.u.index == CDCMD
                 || cmdentry.u.index == DOTCMD
                 || cmdentry.u.index == EVALCMD))) {
                jp = makejob(cmd, 1);


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to