• 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
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sort Array by Column X


  • Subject: Re: Sort Array by Column X
  • From: Steve Thompson <email@hidden>
  • Date: Wed, 28 Jul 2010 10:22:01 +0100

And get rid of that trailing space.

On 26 Jul 2010, at 15:09, Steve Thompson wrote:

set formData to do shell script ("head -n 1 " & POSIX path of (path to scripts folder) as text) & "formdb.csv"
set formData to formData & (do shell script (("tr -d \\\" < " & POSIX path of (path to scripts folder) as text) & "formdb.csv" & " | tail -n +2 | sort -r -n -t , -k" & column))

 _______________________________________________
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

  • Follow-Ups:
    • Converting Pictures via AppleScript?
      • From: Ronald Hofmann <email@hidden>
References: 
 >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: Richard Lake <email@hidden>)
 >Re: Sort Array by Column X (From: Steve Thompson <email@hidden>)

  • Prev by Date: Re: Scripting Script Debugger
  • Next by Date: Converting Pictures via AppleScript?
  • Previous by thread: Re: Sort Array by Column X
  • Next by thread: Converting Pictures via AppleScript?
  • Index(es):
    • Date
    • Thread