Re: Shell grep help - how to get only first occurrence of match?
Subject : Re: Shell grep help - how to get only first occurrence of match?
From: "Mark J. Reed" <email@hidden >
Date: Wed, 28 Mar 2007 22:23:28 -0400
Delivered-to: email@hidden
Delivered-to: email@hidden
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=AIBcgBRYEU8I9YZGCkUqe3smkWA0YFT99yH4LZy2WE1GP4nWuHyYkiAQjKdjvdCpFTWO1Nn8KQEazymF8dSxUPl0tVLabLKxRDUPgqL8AzOe1IS9iV/GpYmL2QErdN/ZSnaXaqqC306C+0Jb5dDj4hyNCp+G1W4AqtWzxlCAfBA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=i5D/EaKL8q88VR1LM/89ZHs7cHc/ovkmvJL/5CAMLNc1iUhL7WRC/K6VoGOjnNrsSyyaJp2yZymfTFgD6bDPh1onS+fQGxBwLs58DyrbnipjPvIav+6RLYi0y4eCTKhaZ49Pb3GSRQEDsjl3lsZQHtQge2xz+J8vqm1iuUKS4pU=
On 3/28/07, Malcolm Fitzgerald <email@hidden> wrote:
Wow, it's that easy. You wouldn't know it from the man page.
man pages are generally written to be references rather than
tutorials. AWK is actually a complete programming language, one of
the antecedents of Perl, so the manual is correspondingly complex.
But simple column-munging stuff is pretty straightforward...
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.