Can someone please tell me how to escape ' in the printf of an awk script.
Here is an example
nawk '{printf("exec dbms_system.SET_BOOL_PARAM_IN_SESSION(%s,%s,\'\n",$1,$2)}' $tracefile >xx
it's the first ' right before the \n" that's blowing up.
Thanks
Here is an example
nawk '{printf("exec dbms_system.SET_BOOL_PARAM_IN_SESSION(%s,%s,\'\n",$1,$2)}' $tracefile >xx
it's the first ' right before the \n" that's blowing up.
Thanks