[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hello... the bash tokenizer
From: |
Chet Ramey |
Subject: |
Re: hello... the bash tokenizer |
Date: |
Tue, 29 Apr 2003 13:46:53 -0400 |
> I just noticed that "cd ////some///other/red//planet" works. Is this
> because of the way the argument is tokenized? Or (and) is there some
> deeper, more useful reason?
That's how the Unix file system works. Multiple consecutive slashes
have always been treated as a single slash, with the occasional
exception of a leading `//'.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Chet Ramey, ITS, CWRU chet@po.CWRU.Edu http://cnswww.cns.cwru.edu/~chet/