• 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: shell equivalent to text 1 thru -9?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shell equivalent to text 1 thru -9?


  • Subject: Re: shell equivalent to text 1 thru -9?
  • From: Jonathan Levi MD <email@hidden>
  • Date: Tue, 19 Apr 2005 08:15:02 -0400

On 4/18/05, Jake Pietrykowski <email@hidden> wrote:
 > This isn't a AS question, but rather I'm looking for an example of a shell
 equivalent to the AS command text 1 thru -9?

 set x to "nameOfSomeApp_log.txt"
 set y to text 1 thru -9 of x

> I want to return 'nameOfSomeApp'?

In addition to the suggestions already given, I'd like to recommend the bash man page. It's long, sometimes opaque, and not material for a single reading, but I've come back to it again and again, and find it a treasure trove of information. --Jonathan
_______________________________________________
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
  • Prev by Date: Re: Illustrator CS Rotation
  • Next by Date: Re: Illustrator CS Rotation
  • Previous by thread: Re: shell equivalent to text 1 thru -9?
  • Next by thread: Re: shell equivalent to text 1 thru -9?
  • Index(es):
    • Date
    • Thread