Re: tab delimited data file
Re: tab delimited data file
- Subject: Re: tab delimited data file
- From: Martin Orpen <email@hidden>
- Date: Thu, 26 Jun 2003 09:38:59 +0100
On Wed, 25 Jun 2003 14:48:12 -0500, Rick Norman <email@hidden>
wrote:
>
That's great except for the fact that each data file is 1000 records with 35
>
fields in each record. In this example would I have to paste the data file
>
into the script? The way I had thought of doing it (just not sure how to
>
write it) is to take record 1 and store the number being compared in a list
>
(which would be "10" in this case) and write record one to a new file and
>
then if that number "10" is encountered again it will be ignored, but
>
continue with every new unique number throughout the file. Hope that makes
>
sense.
Don't know if somebody has already pointed this out, but I think you may be
overlooking a very simple solution:
% uniq -f1 myfile.txt
Or am I missing something?
--
Martin Orpen
Idea Digital Imaging Ltd -- The Image Specialists
http://www.idea-digital.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.