Inserting Donor pages

Date: Fri, 19 Mar 1999 16:49:09 -0400 (AST)
From: Michael Smith <michael@csuite.ns.ca>
To: Daryle Niedermayer <daryle@gpfn.sk.ca>
cc: Csuite Technical Support <csuite-tech@chebucto.ns.ca>
Precedence: bulk
Return-Path: <csuite-tech-mml-owner@chebucto.ns.ca>

next message in archive
no next message in thread
previous message in archive
previous message in thread
Index of Subjects

Index of Subjects
On Fri, 19 Mar 1999, Daryle Niedermayer wrote:

> 2. The word "DONOR" must be followed by a space and then a newline
> character; the newline character alone is insufficient for awk to be able 
> to parse out the first token of the line. Any additional
> portions of the line after "DONOR " should be ignored are are irrelevant.

The Home.tmpl on our development machines (running CSuite 1.0) isn't
followed by a space. Does your $CS_ROOT/cronbin/mkhome file look like
this?

for i in Home.tmpl*
do
  sfx=`echo "$i" | sed 's/^Home.tmpl//'`
  gawk -v dfile=donors/list$sfx '
  BEGIN {
[snip]
  }
  $1 == "DONOR" {
# ^^^^^^^^^^^^^^^   gawk should put DONOR by itself on a line into $1 with
#                   or without a space
        print info
        next
  }
  { print }
  ' $i >Home.$$


next message in archive
no next message in thread
previous message in archive
previous message in thread
Index of Subjects