All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Lars Täuber" <taeuber@bbaw.de>
To: yuyichao-mit <yuyichao@mit.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: extra slash in current path
Date: Thu, 23 Jun 2011 15:31:16 +0200	[thread overview]
Message-ID: <20110623153116.404f2a63.taeuber@bbaw.de> (raw)
In-Reply-To: <BANLkTi=y1roManmZGMLBXSFbBVqK_KqDZg@mail.gmail.com>

Hi,

Am Thu, 23 Jun 2011 09:14:18 -0400
yuyichao-mit <yuyichao@mit.edu> schrieb:
> The problem is like this:
> 
> $ cd /
> $ pwd
> /
> 
> $ cd /
> $ pwd
> //

didn't you mean?:
$ cd //
$ pwd
//


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

  parent reply	other threads:[~2011-06-23 13:31 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-23 13:14 extra slash in current path yuyichao-mit
2011-06-23 13:17 ` Alessandro Suardi
     [not found]   ` <BANLkTik3iMqZJiEY1+DYS2T9=+q2x2=5pQ@mail.gmail.com>
2011-06-23 13:26     ` yuyichao-mit
2011-06-23 13:31 ` Lars Täuber [this message]
2011-06-23 13:32   ` yuyichao-mit
2011-06-23 13:54     ` richard -rw- weinberger
2011-06-23 14:11       ` yuyichao-mit
2011-06-23 14:25         ` richard -rw- weinberger
2011-06-23 14:27         ` Nick Bowler
2011-06-23 14:31         ` Michael Tokarev
2011-06-23 14:52           ` Lars Täuber
     [not found]             ` <BANLkTimdzyT6w2LoKtTjhHTKF5d6zWXFGw@mail.gmail.com>
2011-06-23 15:02               ` 俞颐超
2011-06-23 14:53           ` yuyichao-mit
2011-06-23 14:53             ` yuyichao-mit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110623153116.404f2a63.taeuber@bbaw.de \
    --to=taeuber@bbaw.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=yuyichao@mit.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.