Problems with startup scripts

RW fbsd06 at mlists.homeunix.com
Tue Jun 3 17:59:43 UTC 2008


On Tue, 03 Jun 2008 09:13:03 -0500
Paul Schmehl <pschmehl_lists at tx.rr.com> wrote:


> I suppose most binaries don't bother to check if flags are set twice
> and throw an error.  Most likely what they do is accept the last one
> set and ignore the previous ones.

That's generally the unix way of handling this because it allows
overriding.  For example, you might wish to alias df to 'df -h' but
sometimes want df -m.

Treating a duplicated flag as an error seems entirely the wrong
approach, and potentially a nightmare.




More information about the freebsd-ports mailing list