[CentOS] script help

Julian Thomas jt at jt-mj.net
Wed Jun 17 21:38:36 UTC 2009


On Wed, 17 Jun 2009 11:16:58 -0700 MHR wrote:
>
>
>I've never seen any shell or sed syntax that allows you to subscript a
>line like this.  You should read up on awk, although there is no
>simple way to do dual file processing along these lines.

Easy way to do this with awk is to have the first part of the script use awk to get the name and address. and then 
use them as arguments to a second invocation of awk.
-- 
 Julian Thomas:   jt at jt-mj.net    http://jt-mj.net
 In the beautiful Genesee Valley of Western New York State!
 -- --
 You will always be lucky if you know how to make friends with strange cats.
 - Colonial American proverb





More information about the CentOS mailing list