From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@9fans.net From: Lyndon Nerenberg - VE6BBM/VE7TFX Date: Thu, 17 Sep 2009 09:51:17 -0600 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] awk help; not plan9 matter Topicbox-Message-UUID: 70bd107a-ead5-11e9-9d60-3106f5b1d025 > The trouble with this is that the same string can appear more than > once (before, after the field, ...), so the simple substitution isn't > enough. It's sounding like awk is the wrong tool. It should be trivial to code up a short piece of C to do the job.