Re: [OT] UNIX heads; can I do this?
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