Sample Header Ad - 728x90

print byte from number in awk

0 votes
1 answer
666 views
I can print a byte from a string literal like: awk 'BEGIN {print "\001"}' | cat -v But I need to print a byte of the result of a bitwise OR. So how can I print a byte from a number? Gawk is ok.
Asked by sedwho (5 rep)
Feb 4, 2022, 11:39 PM
Last activity: Feb 5, 2022, 12:48 AM