delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/10/01/02:51:35

Date: Tue, 1 Oct 1996 08:46:07 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Daisuke Aoyama <jack AT st DOT rim DOT or DOT jp>
Cc: djgpp-workers AT delorie DOT com
Subject: Re: bash 1.14.7 is available
In-Reply-To: <199609221739.CAA27066@mars.st.rim.or.jp>
Message-Id: <Pine.SUN.3.91.961001084035.23760C-100000@is>
Mime-Version: 1.0

On Mon, 23 Sep 1996, Daisuke Aoyama wrote:

> I put new release and diffs on alpha page. You can get it from:

I found something strange about the `(commands)' construct.  Try this:

	bash -c '(cd .. | ls)'

You will see the listing of the *current* directory, not of its parent,
from `ls'.  I've tried this with a Unix `sh', and it works the same, but 
`ms_sh' does produce the listing of the parent (and I do find this latter 
behavior more intuitive).  What am I missing here?

Btw, if you replace `|' with a `;', it lists the parent directory.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019