[Top][All Lists]

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

PSPP-BUG: [bug #23182] Changing the command line interface of PSPPire

From: Ben Pfaff
Subject: PSPP-BUG: [bug #23182] Changing the command line interface of PSPPire
Date: Wed, 07 May 2008 00:23:16 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20061205 Iceweasel/ (Debian-

Follow-up Comment #2, bug #23182 (project pspp):

>How should psppire know what to do with a filename given as an 
>argument? It has to decide whether to open it as a system file, 
>portable file or syntax file. Can we rely on the filename suffix?

It is easy to detect that a file is a system file or portable file: we
already have code to do so in data/any-reader.c.  It works based on the file's
content, not its name.

We could probably assume that any file that appears to be text, but which is
not a system file or portable file, is a syntax file.

This logic would not have to be exclusive to psppire.  It would also be
useful to accept system and portable file names on the pspp command and
perform an implicit 'GET' or 'IMPORT' on them.

>We need to make sure that we get the syntax of the command line 
>right, as subsequent changes in later versions causes pain for 

Yes.  I neglected this in some earlier releases.  I think that that was a


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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