bug-bash
[Top][All Lists]
Advanced

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

should warn: cd: too many arguments


From: Dan Jacobson
Subject: should warn: cd: too many arguments
Date: Sun, 26 Jan 2003 12:39:48 +0800

Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-pc-linux-gnu' 
-DCONF_VENDOR='pc' -DSHELL -DHAVE_CONFIG_H  -I.  
-I/home/packages/bash/bash-2.05b -I/home/packages/bash/bash-2.05b/include 
-I/home/packages/bash/bash-2.05b/lib  -g -O2
uname output: Linux debian 2.4.19-k7 #1 Sun Oct 6 20:29:56 EST 2002 i686 AMD 
Duron(tm) processor AuthenticAMD GNU/Linux
Machine Type: i386-pc-linux-gnu

Bash Version: 2.05b
Patch Level: 0
Release Status: release

seen in comp.unix.shell
!> Another rudeness is if one does
!> $ cd dir1 dir2 dir3
!> many big name shells don't warn you about superfluous args.
!
!Well, use a better shell then:
!
address@hidden:~% cd tmp tmp1 tmp2
!cd: too many arguments


sorry to bring this up again.
I'd print the warnings, in case one day dir2 dir3 have meanings, and we
switch back to an older shell, it would be nice to be warned.




reply via email to

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