Re: awk question
Re: awk question
- Subject: Re: awk question
- From: Martin Orpen <email@hidden>
- Date: Fri, 15 Dec 2006 17:32:41 +0000
On 15 Dec 2006, at 15:51, John C. Welch wrote:
I was hoping that there'd be a simpler way to do
that via awk, and that I was just missing something, but it appears
I wasn't
missing something, at least in awk's case.
Awk can still get close by simply using a double space as the file
separator:
echo '17 "Security Update for Exchange 2000 Server (KB894549)"
zeroDotZero application 2005-10-7,13:45:34.0' | awk 'BEGIN
{ FS=" "; OFS="\n" } { print $1, $3, $5, $8, $9 }'
-->
17
"Security Update for Exchange 2000 Server (KB894549)"
zeroDotZero
application
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