tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Support for boolean queries in apropos



On Tue, Mar 13, 2012 at 10:03:25PM +0100, Joerg Sonnenberger wrote:
> On Wed, Mar 14, 2012 at 02:24:42AM +0530, Abhinav Upadhyay wrote:
> > I apologize but I lost the context a bit here, what do you mean by the
> > minus operator ? If you mean to represent the boolean NOT operator
> > using a '-' then I think it makes sense, easy to type and succinct as
> > well.
> 
> No, using "-" to present binary not is a bad choice. apropos uses
> getopt and requiring the use of "--" to terminate the option list is a
> bad idea.

You also don't want to use & and | as these will also need quoting.

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index