Skip to content

tail: make -r do what the manual says - #1042

Merged
briandfoy merged 1 commit into
briandfoy:masterfrom
mknos:tail-r-default
Jun 8, 2026
Merged

tail: make -r do what the manual says#1042
briandfoy merged 1 commit into
briandfoy:masterfrom
mknos:tail-r-default

Conversation

@mknos

@mknos mknos commented Jun 8, 2026

Copy link
Copy Markdown
Contributor
  • This version of tail has the -r flag, which is a BSD extension
  • The POD for -r says that the default for -r will show the entire input; this is consistent with NetBSD/FreeBSD/OpenBSD
  • The default $point value of -10 was being used incorrectly in this case, but it should have no bearing here
  • With this patch, tac f and tail -r f become equivalent (historical BSD did not have tac)

* This version of tail has the -r flag, which is a BSD extension
* The POD section for -r says the default for -r is to show the entire input; this is consistent with NetBSD/FreeBSD/OpenBSD
* The default $point value of -10 was being used incorrectly in this case, but it should have no bearing here
* With this patch, "tac f" and "tail -r f" become equivalent (historical BSD did not have tac)
@mknos
mknos temporarily deployed to housekeeping June 8, 2026 01:31 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 8, 2026 01:31 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 8, 2026 01:31 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 8, 2026 01:31 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 8, 2026 01:31 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 8, 2026 01:31 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 8, 2026 01:31 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 8, 2026 01:31 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 8, 2026 01:31 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 8, 2026 01:31 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 8, 2026 01:31 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 8, 2026 01:31 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 8, 2026 01:31 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 8, 2026 01:31 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 8, 2026 01:31 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 8, 2026 01:31 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 8, 2026 01:31 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 8, 2026 01:31 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 8, 2026 01:31 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 8, 2026 01:31 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 8, 2026 01:31 — with GitHub Actions Inactive
@mknos
mknos temporarily deployed to automated_testing June 8, 2026 01:31 — with GitHub Actions Inactive
@github-actions github-actions Bot added Type: enhancement improve a feature that already exists Priority: low get to this whenever Program: tail The tail program Status: needs verification issue needs to be verified Type: bug an existing feature does not work labels Jun 8, 2026
@briandfoy briandfoy removed the Type: enhancement improve a feature that already exists label Jun 8, 2026
@briandfoy
briandfoy merged commit 28f440d into briandfoy:master Jun 8, 2026
23 of 24 checks passed
@github-actions github-actions Bot added Status: accepted The fix is accepted and removed Status: needs verification issue needs to be verified Priority: low get to this whenever labels Jun 8, 2026
@briandfoy

Copy link
Copy Markdown
Owner

changes: make tac show all of the output

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Program: tail The tail program Status: accepted The fix is accepted Type: bug an existing feature does not work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants