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