Skip to content

Conversation

@rcatini
Copy link

@rcatini rcatini commented Aug 1, 2022

This modification makes ztail reproduce the behavior of tail in the case there are multiple files to output (a banner is printed).
In particular, the filename banner should not be preceded by a newline if it's preceded only by errors.

The subject is a little ambiguous: If several files are given, print a newline and the file name between each one of them. It notably doesn't specify what to put before the first file.
But the natural interpretation of it should be to not to put a newline before the first file that is actually printed.

This modification makes ztail reproduce the behavior of tail in the case there are multiple files to output (a banner is printed).
In particular, the filename banner should not be preceded by a newline if it's preceded only by errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant