bug-bash
[Top][All Lists]
Advanced

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

Re: cd //


From: Eric Blake
Subject: Re: cd //
Date: Thu, 18 Feb 2010 23:03:48 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666

According to Степанов Сергей on 2/18/2010 4:00 AM:
> Hello!
> If to enter the command "sh//" that current there is a directory//, it
> root directory. If to add it is more than slashes that current will be /
> the directory. It is not assured that it is a bug, but has decided to
> inform.
> 

Not a bug.  POSIX allows implementations to treat // as an independent
root (and cygwin does so); thus it must be preserved.  But POSIX requires
that /// be treated identically to /.

-- 
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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