patchPSPP - Patches: patch #6035, Implemented CD command

 
 

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

patch #6035: Implemented CD command

Submitted by:  John Darrington <jmd>
Submitted on:  Fri 22 Jun 2007 07:47:22 AM UTC  
 
Category: NoneItem Group: None
Status: DoneAssigned to: None
Open/Closed: Closed

(Jump to the original submission Jump to the original submission)

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

done

John Darrington <jmd>
Project 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>
Project Administrator
Tue 10 Jul 2007 07:05:41 PM UTC, comment #4:

See also bug #18704.

Ben Pfaff <blp>
Project 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>
Project 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>
Project 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>
Project Administrator
Fri 22 Jun 2007 07:47:22 AM UTC, original submission:

I got annoyed at the lack of this command.

John Darrington <jmd>
Project Administrator

 

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 30 Jul 2007 10:41:32 AM UTCjmdStatusWorks For Me=>Done
      Open/ClosedOpen=>Closed
    Mon 30 Jul 2007 04:00:37 AM UTCblpStatusReady For Test/Review=>Works For Me
    Fri 22 Jun 2007 07:47:22 AM UTCjmdAttached File-=>Added cd.patch, #13124

    Back to the top


    Powered by Savane 3.1-cleanup