[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: extreme newbie
From: |
John Darrington |
Subject: |
Re: extreme newbie |
Date: |
Thu, 15 May 2014 08:50:12 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Wed, May 14, 2014 at 03:01:27PM -0700, Mogerman Rob wrote:
I'm very unfamiliar with pspp but I have a data file and a definitions
file and a client that needs a .sav file.? How would I create a .sav file via
command line if I have the files test1.sps (spss definitions file) and
file1.rft ( fixed ascii data file)?? Is there a good way to do this through a
shell script from Linux?
If test1.sps does not already contain a SAVE command then you will need to add
this.
For example:
$ echo SAVE OUTFILE=\"myfile.sav\". >> test1.sps
$ pspp test1.sps
(PSPP is largely operating system agnostic, so this should work on GNU/Linux
and any platform)
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.