On Tue, 15 Apr 2008 07:13:30 -0700 Daniel Burrows <[EMAIL PROTECTED]> wrote:
Hi Daniel. > How many readers of this list are using "aptitude search" as a > subcommand in a script? Will you be impacted by this change? Will > anyone else be adversely impacted despite not using it in a script? I have always been annoyed with this exact problem, but I don't think the solution you think about implementing (doing like apt-cache) is the best way to go. I would recommend trying to mimic something like the search function of the FreeBSD ports system with specific options so that it is very easy and intuitive to use and, at the same time, you can still make it backward compatible. Default behaviour: >From FreeBSD: $ make search name=foo Aptitude: $ aptitude search foo OR newly added feature $ aptitude search name=foo >From FreeBSD: $ make search key=bar Wich searches both names and descriptions. $ aptitude search key=bar Anyway, just a thought. > > Thanks, > Daniel > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > > -- Med venlig hilsen/Best regards Kim N. Lesmer Programmer/Systems administrator Web : www.bitflop.com E-mail : [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]