[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
- Read a fixed length of input each time,
Peng Yu <=
- Re: Read a fixed length of input each time, arnold, 2020/06/23
- Re: Read a fixed length of input each time, Neil R. Ormos, 2020/06/23
- Re: Read a fixed length of input each time, Andrew J. Schorr, 2020/06/23
- Re: Read a fixed length of input each time, Peng Yu, 2020/06/23
- Re: Read a fixed length of input each time, Andrew J. Schorr, 2020/06/23
- Re: Read a fixed length of input each time, Peng Yu, 2020/06/23
- Re: Read a fixed length of input each time, Andrew J. Schorr, 2020/06/23
- Re: Read a fixed length of input each time, Peng Yu, 2020/06/23
- RE: Read a fixed length of input each time, Tom Gray, 2020/06/23