[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BANLkTinOb-4Xm_W2fmzivk6jBJwjeHYKVA@mail.gmail.com>
Date: Thu, 23 Jun 2011 09:32:38 -0400
From: yuyichao-mit <yuyichao@....edu>
To: Lars Täuber <taeuber@...w.de>
Cc: linux-kernel@...r.kernel.org
Subject: Re: extra slash in current path
On Thu, Jun 23, 2011 at 9:31 AM, Lars Täuber <taeuber@...w.de> wrote:
> Hi,
>
> Am Thu, 23 Jun 2011 09:14:18 -0400
> yuyichao-mit <yuyichao@....edu> schrieb:
>> The problem is like this:
>>
>> $ cd /
>> $ pwd
>> /
>>
>> $ cd /
>> $ pwd
>> //
>
> didn't you mean?:
> $ cd //
> $ pwd
> //
yes, exactly.
Sorry for the typo (copy-paste~~~)
>
>
> Regards
> Lars
>
>>
>> $ cd ///
>> $ pwd
>> /
>>
>> Why can there be a extra slash (and exactly one) in current path? Is
>> this designed on purpose?
>> This is not really a big deal but I think it can confuse some program.
>>
>> Thanks.
>>
>> Yichao
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists