coreutils
[Top][All Lists]
Advanced

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

Re: tail: somewhat unexpected one-by-one in -c/-n +NUM option


From: Dragan Simic
Subject: Re: tail: somewhat unexpected one-by-one in -c/-n +NUM option
Date: Wed, 19 Jul 2023 17:47:50 +0200

On 2023-07-19 16:32, Martin Castillo wrote:
I assume, this is because lines are numbered one-based, so this is
more intuitive to use. But when working with bytes, one usually uses
offsets. Is there a more intuitive way to get the last part of a file
given an offset?

You may want to have a look at dd(1), which is quite commonly used when it comes to dealing with byte offsets.



reply via email to

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