[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RunScript and String continuation question
From: |
Paul Company |
Subject: |
RunScript and String continuation question |
Date: |
Mon, 22 Jul 2002 03:04:45 -0700 (PDT) |
Question #1:
How do you STOP RunScript from
"append[ing] the script with two arguments:
the name of the file which is being edited and
the system hard class (e.g. sun4, ultrix etc.)
of the system executing the script."
http://www.cfengine.org/docs/cfengine-Reference.html#editfiles
Question #2:
How do you define a variable with a string that
spans multiple lines?
Example:
myvariable = ( " hello everybody
this is the second line
3rd line
4th line with alot of text bla bla bla bla bla etc.
" )
It's much more readable this way - instead of
myvariable = (" hello everybody$(n) this is the second line$(n) 3rd
line$(n) 4th line with alot of text bla bla bla bla bla etc.$(n)" )
- RunScript and String continuation question,
Paul Company <=