diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2006-10-26 20:31:43 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@xenon.tklauser.home> | 2006-10-26 20:31:43 +0200 |
commit | ee9871f1934910cd8e88f10d5958afdbf3f0b5ac (patch) | |
tree | 3e63e3b9e6f4eb1416aaf324aabfacdab33b67d1 /inotail.h | |
parent | f09e7bf71c2b64df952650623fcd0b870c596ca4 (diff) |
inotail.c: Support inotail -n +<num>
Add function lines_to_offset_from_begin() to allow tailing relative to the
begin of the file.
Also handle the case where the argument for '-c' or 'n' is '+0'. Like GNU
tail (and according to its source also tail in UNIX) print the whole file
in this case.
Diffstat (limited to 'inotail.h')
0 files changed, 0 insertions, 0 deletions