Date: Fri, 7 May 2004 13:36:32 +0200
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: L Johansson <email@example.com>
Subject: Splitting in the number of files as there are number of values in
Content-Type: text/plain; charset="iso-8859-1"
How do I go about splitting a file into several files depending on how many values there are in variable x.
For instance, let's say I have ten different values in x and want all values that are the same to be saved into
a unique file.
X = 1 saved into file1
X = 2 saved into file2
I.e. the script will have to check how many values there are and make as many files as there are unique