[GRLUG] Paths

rh90p at comcast.net rh90p at comcast.net
Mon Sep 22 02:58:31 EDT 2008


This has been a long standing feature of not just Linux but it comes from Unix from a long time back and facilitates easy concatenation of pathnames without having to scan for and remove the extra slashes.

 -------------- Original message ----------------------
From: "Ben DeMott" <ben.demott at gmail.com>
> I feel like a noob asking this, and probably will be chastized for asking,
> 
> I was coding away today ... and I realized (not sure why I never noticed
> before) that python seemed to think //etc//httpd//conf.d was a perfectly
> legitimate directory name.
> 
> I then opened my terminal (bash) and was surprised to find that typing `cd
> //etc//httpd//conf.d`  worked just fine.
> 
> Is this a feature - or am I missing the point about something - and secondly
> would it be wise to allow this behaviour in my program for when an
> individual specifies a path?
> 
> Back to extreme tux racer ... (:SMILE:)


-------------- next part --------------
An embedded message was scrubbed...
From: "Ben DeMott" <ben.demott at gmail.com>
Subject: [GRLUG] Paths
Date: Sat, 20 Sep 2008 21:45:05 +0000
Size: 2290
Url: http://shinobu.grlug.org/pipermail/grlug/attachments/20080922/308be90c/attachment.eml 


More information about the grlug mailing list