bug-gawk
[Top][All Lists]
Advanced

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

[bug-gawk] The best way to test the first n character in a file


From: Peng Yu
Subject: [bug-gawk] The best way to test the first n character in a file
Date: Wed, 18 Sep 2019 11:35:15 -0500

Hi,

I want to test if the first n character of a binary file equals some
given string. I am not sure if awk is good at this. It seems that
`head` plus shell code should be easier. Is there a good way to do so
in awk? Thanks.

-- 
Regards,
Peng



reply via email to

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