From: Paul Haahr <firstname.lastname@example.org>
To: Russell Davies <email@example.com>
Subject: Re: bug?
Date: Mon, 28 May 2001 10:20:12 -0500 [thread overview]
Message-ID: <firstname.lastname@example.org> (raw)
--- Russell Davies <email@example.com> wrote:
> ; mkdir $HOME/e
> ; cdpath=$HOME
> ; cd /
> ; cd e
> ok, all is well. Suppose now I want to suppress the output of the cd
> ; cd /
> ; cd e >/dev/null
> ; pwd
> huh? I haven't had time to dig too deeply but if someone else has
> looked at it before, I won't bother.
I don't have a Unix box in front of me to test or access to the source, but
rc commands with redirected I/O run in subshells; thus, the directory of
your child process is changed, but not the parent process.
(I think we fixed that in es by remapping file descriptors all over the
place and forking way late in the game.)
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
next prev parent reply other threads:[~2001-05-28 19:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-28 8:47 bug? Russell Davies
2001-05-28 10:55 ` bug? Carlo Strozzi
2001-05-28 15:20 ` Paul Haahr [this message]
2001-05-28 17:20 bug? Byron Rakitzis
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).