• 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: To shell or not to shell (was Re: URL Access Redux)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: To shell or not to shell (was Re: URL Access Redux)


  • Subject: Re: To shell or not to shell (was Re: URL Access Redux)
  • From: Wayne Melrose <email@hidden>
  • Date: Tue, 23 May 2006 09:39:27 +0200


On May 23, 2006, at 9:28 AM, Matt Deatherage wrote:


What's bad, and what's very bad on this list, is using "external"

methods as the *first* way to get anything done in AppleScript. 



On that note.. 

is this a bad time to ask how to do something in a shell command rather than applescript? 


How does one get the last word of a string as a shell? 

get last word of "this is the word i want"   -- applescript

And as a shell...? 

awk, sed, tr... ????

someone.. ? it would just be really nice to know how to get the last line of a string in this case, to save me going from applescript to shell back to applescript then back into another shell command, i would like to take care of this section in the shell part, keep things simple.. 


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: To shell or not to shell (was Re: URL Access Redux)
      • From: Martin Orpen <email@hidden>
References: 
 >Re: To shell or not to shell (was Re: URL Access Redux) (From: Matt Deatherage <email@hidden>)

  • Prev by Date: Re: To shell or not to shell (was Re: URL Access Redux)
  • Next by Date: Re: To shell or not to shell (was Re: URL Access Redux)
  • Previous by thread: Re: To shell or not to shell (was Re: URL Access Redux)
  • Next by thread: Re: To shell or not to shell (was Re: URL Access Redux)
  • Index(es):
    • Date
    • Thread