patchPSPP - Patches: patch #6035, Implemented CD command

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #6035: Implemented CD command

Submitter:  John Darrington <jmd>
Submitted:  Fri 22 Jun 2007 07:47:22 AM UTC
   
 
Category:  None Item Group:  None
Status:  Done Assigned to:  None
Open/Closed:  Closed

Jump to the original submission

Mon 30 Jul 2007 10:41:32 AM UTC, comment #6: 

done

John Darrington <jmd>
Group administrator
Mon 30 Jul 2007 04:00:37 AM UTC, comment #5: 

John, do you want to commit this patch?  Then we have the most important part of it in, and we can add the unimplemented bits later.

Ben Pfaff <blp>
Group administrator
Tue 10 Jul 2007 07:05:41 PM UTC, comment #4: 

See also bug #18704.

Ben Pfaff <blp>
Group administrator
Fri 22 Jun 2007 04:41:21 PM UTC, comment #3: 

Google link works for me again.  Must have been Google's problem, not mine.

Ben Pfaff <blp>
Group administrator
Fri 22 Jun 2007 02:06:34 PM UTC, comment #2: 

I'm not sure what's wrong with the Google link: now I only get a 404 error on any page on groups.google.com.  I'll try it again later.

Ben Pfaff <blp>
Group administrator
Fri 22 Jun 2007 02:04:28 PM UTC, comment #1: 

This does what I'd expect a CD command to do, but it doesn't do everything that the SPSS CD command does.  In particular: the CD command can specify a file handle instead of a directory name; the directory name may use a system-specific environment variable syntax (see http://groups.google.com/group/comp.soft-sys.stat.spss/browse_frm/thread/50d9ca6f45b5d8bd/a440d6a22083e496?lnk=st&q=CD+command+with+environment+variable&rnum=1#a440d6a22083e496); and the directory name may actually name a file (existing or non-existing), in which case the file portion is stripped.

Also, I am unsure how CD should interact with file handles.  If I specify a file handle as pointing to a file named 'foo.dat', and then I CD to another directory and use the file handle, should it refer to foo.dat in the old or the new directory?

Ben Pfaff <blp>
Group administrator
Fri 22 Jun 2007 07:47:22 AM UTC, original submission:  

I got annoyed at the lack of this command.

John Darrington <jmd>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #13124:  cd.patch added by jmd (10KiB - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by blp (Posted a comment)
  • -email is unavailable- added by jmd (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-07-30 jmd StatusWorks For Me Done
        Open/ClosedOpen Closed
    2007-07-30 blp StatusReady For Test/Review Works For Me
    2007-06-22 jmd Attached File- Added cd.patch, #13124

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code