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 this behavior, you can build bash with CD_COMPLAINS defined (adding it to CFLAGS is the easiest way). -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/