bug-gawk
[Top][All Lists]
Advanced

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

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


From: Eli Zaretskii
Subject: Re: [bug-gawk] The best way to test the first n character in a file
Date: Wed, 18 Sep 2019 20:43:42 +0300

> From: Peng Yu <address@hidden>
> Date: Wed, 18 Sep 2019 11:35:15 -0500
> 
> 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?

No.



reply via email to

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