{print "SUBSET MEMBER-FILE.CONTROL-FLAGS(62)='1' OR MEMBER-FILE.CONTROL-FLAGS(65)='1' OR MEMBER-FILE.CONTROL-FLAGS(75)='1'"}
I have the above line in an awk script. I put it on one line, but it is too long. I need to put it on 2 lines. I tried using a semicolon like this:
{print "SUBSET MEMBER-FILE.CONTROL-FLAGS(62)='1' OR &;
MEMBER-FILE.CONTROL-FLAGS(65)='1'"}
but got this error:
awk: The string SUBSET MEM cannot contain a newline character.
The source line is 2.
The error context is
{print "SUBSET MEMBER-FILE.CONTROL-FLAGS(62)=1 OR &; >>>
<<<
syntax error The source line is 3.
awk: The statement cannot be correctly parsed.
The source line is 3.
awk: There are 2 missing } characters.
Is there a way I can put this on 2 lines?
I have the above line in an awk script. I put it on one line, but it is too long. I need to put it on 2 lines. I tried using a semicolon like this:
{print "SUBSET MEMBER-FILE.CONTROL-FLAGS(62)='1' OR &;
MEMBER-FILE.CONTROL-FLAGS(65)='1'"}
but got this error:
awk: The string SUBSET MEM cannot contain a newline character.
The source line is 2.
The error context is
{print "SUBSET MEMBER-FILE.CONTROL-FLAGS(62)=1 OR &; >>>
<<<
syntax error The source line is 3.
awk: The statement cannot be correctly parsed.
The source line is 3.
awk: There are 2 missing } characters.
Is there a way I can put this on 2 lines?