Hi all,
I found a extrange behavior on bash in several machines:
[EMAIL PROTECTED] ~ $
[EMAIL PROTECTED] ~ $ cd //
[EMAIL PROTECTED] // $ pwd
//
[EMAIL PROTECTED] // $ echo $PWD
//
[EMAIL PROTECTED] // $ /bin/pwd
/
[EMAIL PROTECTED] // $ bash --version
GNU bash, version 3.00.16(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2004 Free Software Foundation, Inc.
This also happens on a 3.00.15, 3.1.14, 2.05b.0 on Linux and on 2.05b.0
on MacOSX.
I supose pwd it's a builtin command (as it's cd), so it just prints
$PWD. Is this a bug or a feature? I just found this because of a
misstyping, I'm asking this just for curiosity.
Thank you!
--
......................................................................
__
/ / Jordi Prats Català
C E / S / C A Systems Department
/_/ Centre de Supercomputació de Catalunya
Gran Capità, 2-4 (Edifici Nexus) · 08034 Barcelona
T. 93 205 6464 · F. 93 205 6979 · [EMAIL PROTECTED]
......................................................................
pgp:0x5D0D1321
......................................................................
_______________________________________________
Bug-bash mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-bash