[Top][All Lists]

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

possible bug

From: Alan Rogers
Subject: possible bug
Date: Sun, 14 Apr 2002 17:55:49 -0600
User-agent: Mutt/1.3.12i

Perhaps this is a feature, but it smells to me like a bug.  

Synopsis: Suppose that you have a subdirectory named xpt, where x is any 
character.  Then the command "cd opt" will first print the name of
that directory and then move you into it.  Here's an example:

address@hidden:~> mkdir apt
address@hidden:~> cd apt
address@hidden:~/apt> touch a b c
address@hidden:~/apt> ls
a  b  c
address@hidden:~/apt> cd
address@hidden:~> cd opt
address@hidden:~/apt> ls
a  b  c
address@hidden:~/apt> rm -rf apt
address@hidden:~/apt> ls opt
ls: opt: No such file or directory

address@hidden:~/apt> bash --version
GNU bash, version 2.05.0(1)-release (i386-suse-linux)
Copyright 2000 Free Software Foundation, Inc.

Alan Rogers                     PHONE: (801) 581-5529 (w),
Dept. of Anthropology                  486-6013 (h), 581-6252 (fax)
270S 1400E, Univ of Utah        EMAIL: address@hidden
Salt Lake City, UT 84112, USA   WEB  : www.anthro.utah.edu/~rogers

reply via email to

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