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.