This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Minor /bin/sh bug


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@cs.cornell.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@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]