HP3000-L Archives

October 2001, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Wonsil <[log in to unmask]>
Reply To:
Date:
Tue, 23 Oct 2001 16:48:03 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (37 lines)
This is FAR more elegant.  But if you are setting the variable a string,
there's some funky thing you have to do.

This works:
{}
END {
  system("callci SETVAR TESTING 0")
  system("")
}

This doesn't:

{}
END {
  system("callci SETVAR TESTING 'test'")
  system("")
}
shell/iX> awk -f test.awk test.awk
SETVAR TESTING test
               ^
Variable name encountered, but variable is not defined. (CIERR 9805)

I tried a few variations using \" and such, but the callci seems to eat my
double-quotes.  Jeff may know the answer here.

Mark
> -----Original Message-----
> Is it possible to use a system(callci(setvar...)) command?
>
>  Jeff
>
> > The one glitch is I can't get the value back into
> > the MPE CI.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2