Re: cd into // works?
From: YONETANI Tomokazu (qhwt+fbsd_at_les.ath.cx)
Date: 02/23/05
- Previous message: Jeff Roberson: "Re: Patches to use local APIC timer cause SCHED_ULE panic at boot"
- In reply to: Andreas Kohn: "cd into // works?"
- Next in thread: Andreas Kohn: "Re: cd into // works?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 23 Feb 2005 12:36:30 +0900 To: Andreas Kohn <andreas.kohn@gmx.net>
On Tue, Feb 22, 2005 at 09:19:52PM +0100, Andreas Kohn wrote:
> due to a typo, I typed
>
> [klamath] ~>cd //
>
> today. Okay, I'm used to the shell[1] changing any // into /, so I
> expected to get to /. Now, I got there, but pwd/$PWD still have "//" in
> them?
>
> [klamath] //>pwd
> //
> [klamath] //>echo $PWD
> //
> [klamath] //>cd //home//
> [klamath] //home>pwd
> //home
Hi, I may be missing your point, but it's in the bash FAQ:
$ less "+/^POSIX.2," /usr/local/share/doc/bash/FAQ
> I checked with Linux, and there everything works as expected:
> [catalina] ~>cd //
> [catalina] />pwd
> /
>
> Is this expected behavior?
This one isn't expected, or maybe the bash version is old
(according to CHANGES file, bash-2.0.1-release is the first release
with this change in path canonicalization).
Cheers.
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
- Previous message: Jeff Roberson: "Re: Patches to use local APIC timer cause SCHED_ULE panic at boot"
- In reply to: Andreas Kohn: "cd into // works?"
- Next in thread: Andreas Kohn: "Re: cd into // works?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]