All of lore.kernel.org
 help / color / mirror / Atom feed
* extra slash in current path
@ 2011-06-23 13:14 yuyichao-mit
  2011-06-23 13:17 ` Alessandro Suardi
  2011-06-23 13:31 ` Lars Täuber
  0 siblings, 2 replies; 14+ messages in thread
From: yuyichao-mit @ 2011-06-23 13:14 UTC (permalink / raw)
  To: linux-kernel, linux-c-programming

The problem is like this:

$ cd /
$ pwd
/

$ cd /
$ pwd
//

$ 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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-06-23 15:02 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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.