• 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: Best practices for creating and comparing lists of text?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best practices for creating and comparing lists of text?


  • Subject: Re: Best practices for creating and comparing lists of text?
  • From: Christopher Nebel <email@hidden>
  • Date: Mon, 19 Dec 2005 16:30:16 -0800

On Dec 18, 2005, at 9:09 AM, Emmanuel wrote:

At 12:09 AM +0000 12/18/05, Martin Orpen wrote:

on 17/12/05 13:22, has at email@hidden wrote:

For example, here's a simple solution in Python - no speed demon itself
[snip]

That's true :-)

Why do we need to bother with all these complicated solutions.

How about a couple of awk one-liners that will do the job very quickly:

Doesn't awk require LF-terminated lines?

Well, yes, but "tr '\r' '\n'" will fix that up for you. Pipelines are marvelous things.



--Chris Nebel AppleScript and Automator Engineering

_______________________________________________
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


References: 
 >Re: Best practices for creating and comparing lists of text? (From: Martin Orpen <email@hidden>)
 >Re: Best practices for creating and comparing lists of text? (From: Emmanuel <email@hidden>)

  • Prev by Date: Beast way to test for OS version
  • Next by Date: Re: path names separators
  • Previous by thread: Re: Best practices for creating and comparing lists of text?
  • Next by thread: Re: Best practices for creating and comparing lists of text?
  • Index(es):
    • Date
    • Thread