delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/07/14:31:59

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <CE5C042F6A0CD411BBE000A0C9558F2C0C2607@exchange.cs.cornell.edu>
From: Paul Stodghill <stodghil AT cs DOT cornell DOT edu>
To: "Cygwin Mailing List (E-mail)" <cygwin AT sourceware DOT cygnus DOT com>
Subject: Minor /bin/sh bug
Date: Wed, 7 Jun 2000 08:44:45 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

I believe that I am running the latest version of everything, including the
6/1 snapshot

The bug is that the "type" command returns the wrong file name when given an
absolute pathname.

	milhouse% sh -c 'type /bin/ls'
	/bin/ls is /home/stodghil/bib/bin//bin/ls
	milhouse% bash -c 'type /bin/ls'
	/bin/ls is /bin/ls
	milhouse% 

By the way, which shell is /bin/sh based on?

Thanks.

----
Paul Stodghill <stodghil AT cs DOT cornell DOT edu>
4128 Upson Hall, Dept of CS, Cornell Univ., Ithaca, NY 14853
http://www.cs.cornell.edu/stodghil/
Voice: 607-254-8838 Fax: 607-255-4428

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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