On 16 June 2011 04:32, Otto Moerbeek <[email protected]> wrote: > Guideline 11: > The order of different options relative to one another should not > matter, unless the options are documented as mutually-exclusive and > such an option is documented to override any incompatible options > preceding it.
IMHO later options should override earlier options. To not do so may yield somewhat unexpected results. In the below sample I prefer the OpenBSD behaviour. 4.9: $ echo hi > foo ; echo zing > bar $ alias cp='cp -i' $ cp foo bar overwrite bar? n $ cp -f foo bar $ cat bar hi OSX 10.6.7: $ alias cp='cp -i' $ echo hi > foo ; echo zing > bar $ cp foo bar overwrite bar? (y/n [n]) n not overwritten $ cp -f foo bar overwrite bar? (y/n [n]) n not overwritten

