Re: cd's Extraneous Arguments.

2016-04-19 Thread Chet Ramey
On 4/16/16 4:24 AM, Ralph Corderoy wrote: > Hi Chet, > >>> `cd foo bar xyzzy' changes directory to foo, complaining if it >>> doesn't exist. It doesn't complain about the unwanted extra >>> arguments. This can cause problems; `cd *04' ends up in 2015-04, >>> not 2016-04. >> >> If you want this

Re: cd's Extraneous Arguments.

2016-04-16 Thread Ralph Corderoy
Hi Chet, > > `cd foo bar xyzzy' changes directory to foo, complaining if it > > doesn't exist. It doesn't complain about the unwanted extra > > arguments. This can cause problems; `cd *04' ends up in 2015-04, > > not 2016-04. > > If you want this behavior, you can build bash with CD_COMPLAINS >

Re: cd's Extraneous Arguments.

2016-04-15 Thread Chet Ramey
On 4/15/16 8:22 AM, Ralph Corderoy wrote: > Hi, > > 4.3.42(1)-release > > `cd foo bar xyzzy' changes directory to foo, complaining if it doesn't > exist. It doesn't complain about the unwanted extra arguments. This > can cause problems; `cd *04' ends up in 2015-04, not 2016-04. If you want th