Re: awk question
Re: awk question
- Subject: Re: awk question
- From: Martin Orpen <email@hidden>
- Date: Fri, 15 Dec 2006 07:59:19 +0000
On 15 Dec 2006, at 01:19, email@hidden wrote:
No, because then that whole line is only 3 fields. The goal is to
separate fields by whitespace generally, but allow quoted strings,
which may contain spaces.
Oh, I thought John had already handled the easier awk stuff and it
was the field separators that were problematic?
awk 'BEGIN { OFS="\n" } { print $1, $NF-2, $NF-1, $NF }'
-->
17
2003
2004
2005-10-7,13:45:34.0
--
Martin Orpen
Idea Digital Imaging Ltd
_______________________________________________
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/mailman//archives/applescript-users
This email sent to email@hidden