[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cd // produces unexpected results

From: Chet Ramey
Subject: Re: cd // produces unexpected results
Date: Sat, 23 Jun 2012 14:38:58 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0) Gecko/20120614 Thunderbird/13.0.1

On 6/22/12 5:58 PM, Stefano Lattarini wrote:
> On 06/22/2012 09:47 PM, Chet Ramey wrote:
>>> By accident I keyed in :
>>> cd //
>>> and noticed that my prompt included both slashes.
>> Posix says shells have to leave two leading slashes in a pathname alone.
>> Three or more can be collapsed to one, but two have to stay unchanged.
>> This has come up multiple times in the past.
> A little more info, quoting from the Autoconf manual:


Step 8c.

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]