LiftBring in some bits from NetBSD and lift the restriction in uniq(1) that -c cannot be used with the -d and -u options. This restriction
seems unnecessary and is supported at least by GNU, OpenBSD, and NetBSD. Lift the restriction and simplify
the show() logic a little bit to maintain functionality when -c is provided with -d/-u.
Adjust the man pageAlso with this change, -d and usage() to reflect that -c is its own standalone op-u are now actually a mutually exclusive, albeit valid, combination. -d and -uGiven that they both indicate opposite behavior, `uniq(1)` will be left alone
for the time being,no longer output anything if both -d and -u are supplied. although the documentation here is a bit misleading since -d and -u are actually not mutually
exclusive and represent the default behavior of uniq(1)This is in line with NetBSD as well as GNU, and likely OpenBSD but this has not been checked.
Adjust the man page and usage() to reflect that -c is its own standalone option.
This is a partial revert of r98547.
PR: 200553