Re: tail --follow=name --follow=descriptor: both allowed?
From:
Jim Meyering
Subject:
Re: tail --follow=name --follow=descriptor: both allowed?
Date:
Wed, 07 Mar 2012 15:11:27 +0100
Bernhard Voelker wrote:
> For tail, both 'follow' modes are allowed:
>
> $ src/tail --follow=name --follow=descriptor /tmp/x
>
> It obviously uses the latter option.
>
> Should
> a) this behaviour be documented in the info page?
> b) tail proceed with a warning?
> c) such a combination be rejected?
> d) we do nothing?
Probably (d), since it is common practice for tools to let
the final mode-selection option override any preceding ones.
E.g., the -H, -L, -P triple accepted by ch???, cp, du and ls.
Do you think that some would benefit from added documentation?