Skip to content
Tcl Source Code View Ticket
Login

View Ticket

cd doesn't seem to work

Closed / Fixed218958ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:08:37
OriginalBugID: 3234 Bug
Version: 8.0.3
SubmitDate: '1999-10-28'
LastModified: '1999-11-11'
Severity: SER
Status: Released
Submitter: techsupp
ChangedBy: hobbs
OS: Macintosh
OSVersion: 8.1
Machine: Power PC
FixedDate: '1999-11-11'
FixedInVersion: 8.2.1
ClosedDate: '2000-10-25'


Name: Ruud Grool

Comments:
May be its not a bug, perhaps its me, doing something wrong, or may be I
lack some files. I'm just a newbie to tcl, but I am a so called "power
user" of Macintosh for ten years; I also do have programming experience
in different languages including C, and little Unix experience.

ReproducibleScript:
cd DiskName:DirName:Dirname

ObservedBehavior:
When using pwd, it returns the current directory name (as it should do).
When I use cd to change this directory, whatever I try, pwd always
returns the same current directory name. Files can only be found if they
are in this directory, or when I enter the ful pathname to that
directory. TclTutor is also affected by it.

DesiredBehavior:
Obviously, when I type cd Marilyn:Monroe, I expect that Directory Monroe
on Disk Marilyn is my new current working directory

It's possible that the user requires a preceding : to indicate
the root level.  A discussion of how Tcl handles filenames is
in the 'filename' documentation. 
-- 10/30/1999 hobbs
Verified that this works as expected in Mac 8.2.1 build. 
-- 11/11/1999 hobbs
welch Closed ticket [218958ffff]. [History diff]2000-10-26 08:32:15
Log in (anonymous is fine) to add a comment.