• 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: [OT] UNIX heads; can I do this?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OT] UNIX heads; can I do this?


  • Subject: Re: [OT] UNIX heads; can I do this?
  • From: Bill Briggs <email@hidden>
  • Date: Wed, 13 Jun 2007 19:18:36 -0300

At 4:48 PM -0400 6/13/07, Mark J. Reed wrote:
>You can also just tell awk to use carriage returns instead of
>linefeeds as its record separator:
>
>awk 'BEGIN {RS="\r"} (rest of awk script here)'

 I hadn't thought to try that, given that sed was causing so much grief with line endings. Looks like tr gets the job done, so it's all okay now.

 - web
 _______________________________________________
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: 
 >Email Change because of SPAM... (Sorry for the RESEND) (From: Don Wieland <email@hidden>)
 >Re: [OT] UNIX heads; can I do this? (From: John Hawkinson <email@hidden>)
 >Re: [OT] UNIX heads; can I do this? (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Reading text files in chunks from multiple scripts
  • Next by Date: Re: [OT] UNIX heads; can I do this?
  • Previous by thread: Re: [OT] UNIX heads; can I do this?
  • Next by thread: Re: [OT] UNIX heads; can I do this?
  • Index(es):
    • Date
    • Thread