bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cd --


From: Chet Ramey
Subject: Re: cd --
Date: Thu, 8 Mar 2001 16:23:29 -0500

> 1/tmp$ cd
> 0jidanni$ cd -
> /tmp
> 0/tmp$ cd --
> 0jidanni$ cd ---
> bash: cd: illegal option: --
> cd: usage: cd [-PL] [dir]
> 
> I didn't know cd -- is legal.  It doesn't report the new directory, by
> the way.

`--' signals the end of options.  `cd --' is equivalent to `cd'.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)

Chet Ramey, CWRU    chet@po.CWRU.Edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]