Date: Tue, 3 Jun 2008 18:59:38 +0100 From: RW <fbsd06@mlists.homeunix.com> To: freebsd-ports@freebsd.org Cc: Paul Schmehl <pschmehl_lists_nada@tx.rr.com> Subject: Re: Problems with startup scripts Message-ID: <20080603185938.28a6b240@gumby.homeunix.com.> In-Reply-To: <AC214063DE823AC114D553C8@utd65257.utdallas.edu> References: <765B879956FB90DA571FA609@Macintosh.local> <20080603131937.192622ee@gumby.homeunix.com.> <AC214063DE823AC114D553C8@utd65257.utdallas.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 03 Jun 2008 09:13:03 -0500 Paul Schmehl <pschmehl_lists@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080603185938.28a6b240>