[GH-ISSUE #170] Feature request: Show logs from beginning #117

Open
opened 2026-03-03 16:04:33 +03:00 by kerem · 1 comment
Owner

Originally created by @tux-84 on GitHub (Jul 11, 2019).
Original GitHub issue: https://github.com/mthenw/frontail/issues/170

A nice feature would be to make frontail start from the first line of a logfile rather than entering a high number (e.g. -n 99999).

Originally created by @tux-84 on GitHub (Jul 11, 2019). Original GitHub issue: https://github.com/mthenw/frontail/issues/170 A nice feature would be to make frontail start from the first line of a logfile rather than entering a high number (e.g. -n 99999).
Author
Owner

@mthenw commented on GitHub (Jul 21, 2019):

It should be possible with -n +1.

man tail:

Numbers having a leading plus (`+') sign are relative to the beginning of the input, for example, ``-n +2'' starts the display at the second line of the input.

Looks like there is a bug and it doesn't work. I'm gonna fix it.

<!-- gh-comment-id:513585288 --> @mthenw commented on GitHub (Jul 21, 2019): It should be possible with `-n +1`. `man tail`: >Numbers having a leading plus (`+') sign are relative to the beginning of the input, for example, ``-n +2'' starts the display at the second line of the input. Looks like there is a bug and it doesn't work. I'm gonna fix it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/frontail#117
No description provided.