dickiebird
Programmer
Hi
To satisfy our printer line-up criteria, all output for printing has a check on the first byte of output. If the byte is null, no line-up is required. Most programs are legacy DG-basic - don't ask how DG-basic does it - but it does!)
I'm using IBM RS2000 - AIX 4.2
I've written an awk script to output from comma-delimited files. What I cannot do is create a null byte as the first character. I've tried :-
printf("\0"
and
printf("%c",0)
and
printf("%d",\000)
and
printf(0)
and
printf("%x",\000)
and many other combinations.
Anyone any ideas, please ?
Kind regards
Dickie Bird
To satisfy our printer line-up criteria, all output for printing has a check on the first byte of output. If the byte is null, no line-up is required. Most programs are legacy DG-basic - don't ask how DG-basic does it - but it does!)
I'm using IBM RS2000 - AIX 4.2
I've written an awk script to output from comma-delimited files. What I cannot do is create a null byte as the first character. I've tried :-
printf("\0"
and
printf("%c",0)
and
printf("%d",\000)
and
printf(0)
and
printf("%x",\000)
and many other combinations.
Anyone any ideas, please ?
Kind regards
Dickie Bird