bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Read a fixed length of input each time


From: Peng Yu
Subject: Read a fixed length of input each time
Date: Mon, 22 Jun 2020 17:29:09 -0500

Hi,

I'd like to read a binary in chunks of in bytes. awk by default uses
RS to split the input as records. Is there a way to split the input in
chunks with fixed length instead of using a deliminator? Thanks.

PS. I see the following. But I am not sure if it is appropriate for my
specific question.

https://www.gnu.org/software/gawk/manual/html_node/Fixed-width-data.html

-- 
Regards,
Peng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]