Create Binary files in UNIX

后端 未结 5 1873
-上瘾入骨i
-上瘾入骨i 2021-02-06 00:39

This question was out there for a while and I thought I should offer some bonus points if I can get it to work.

What did I do…

Recently at work, I wrote a par

5条回答
  •  走了就别回头了
    2021-02-06 01:35

    awk is the wrong tool for the job here, but there are a thousand ways to do it. The easiest way is often a small C program, or any other language that explicitely makes a distinction between a character and a string of decimal digits.

    However, to do it in awk, use the "%c" printf format.

提交回复
热议问题