• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Sort Array by Column X and a Question for All
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sort Array by Column X and a Question for All


  • Subject: Re: Sort Array by Column X and a Question for All
  • From: "Mark J. Reed" <email@hidden>
  • Date: Thu, 22 Jul 2010 07:24:57 -0400

On Thu, Jul 22, 2010 at 4:04 AM, Richard Lake
<email@hidden> wrote:
> Script a spreadsheet application to do a simple column sort? No thanks.

Fair enough, but like most parsing tasks, dealing with CSV is one of
those deceptively simple-looking jobs that quickly gets too complex
for a straightforward approach; that's why there are modules dedicated
to it in most scripting languages. Python, Tcl, and Ruby all come with
a built-in "csv" module (sadly, Perl's Text::CSV has to be installed
from CPAN), so you might consider calling out to one of them for this
sort of thing.

--
Mark J. Reed <email@hidden>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Sort Array by Column X (From: Richard Lake <email@hidden>)
 >Re: Sort Array by Column X (From: Steve Thompson <email@hidden>)
 >Re: Sort Array by Column X (From: Richard Lake <email@hidden>)
 >Re: Sort Array by Column X (From: Steve Thompson <email@hidden>)
 >Re: Sort Array by Column X (From: Richard Lake <email@hidden>)
 >Re: Sort Array by Column X (From: "Mark J. Reed" <email@hidden>)
 >Re: Sort Array by Column X (From: Tommy Bollman <email@hidden>)
 >Re: Sort Array by Column X and a Question for All (From: Richard Lake <email@hidden>)

  • Prev by Date: Re: File size problem
  • Next by Date: Re: the largest script
  • Previous by thread: Re: Sort Array by Column X and a Question for All
  • Next by thread: Re: Sort Array by Column X
  • Index(es):
    • Date
    • Thread