Page MenuHomeFreeBSD

tail: Allow repetitive or contraditory options
ClosedPublic

Authored by des on Sun, Jul 12, 2:18 PM.
Tags
None
Referenced Files
F162565001: D58192.diff
Tue, Jul 14, 2:50 PM
Unknown Object (File)
Sun, Jul 12, 3:32 PM
Unknown Object (File)
Sun, Jul 12, 3:02 PM
Subscribers

Details

Summary

Unlike its GNU counterpart, our tail(1) has always errored out if given
repetitive or contradictory options, even prior to Keith Bostic's 1991
reimplementation. There is no good reason to continue to do so, not
even tradition, since many other commands (including head(1)) simply
apply the rightmost option in cases like this.

MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable