Closed bgentry closed 11 years ago
If we are going to continue to call the command tail
, then I vote for mirroring unix's tail
command as closely as possible. This feels more right and is the path of least surprise IMO.
I agree with Ed, but a perverse recommended workaround to not tail if this makes it in could just be to have the use pipe tails to head
.
If flag -n still works as advertised after this patch, that would be sufficient to "not follow".
FWIW I don't feel strongly about keeping the name tail. It's already very different from unix tail, since you can't specify what it is you're tailing.
I do actually use the -n
flag a decent amount to get back either a bunch of logs or very few logs. Not sure about others though. But the -n
flag doesn't work as expected when filters are involved :disappointed:
Replaced by #91.
Fixes #88.
I opted not to include a "don't tail" flag for now. Do we have any reason to believe this is common?
The only real use case I could think of is if you're doing something with the output in an automated script or something.