[pacman-dev] [PATCH] contrib/paclist: rewrite in bash
Dave Reisner
d at falconindy.com
Thu Jun 30 09:40:13 EDT 2011
On Thu, Jun 30, 2011 at 11:29:50PM +1000, Allan McRae wrote:
> On 30/06/11 23:10, Dave Reisner wrote:
> >The original concept for this script was a bash implementation, but
> >turned out to be unreasonable at the time due to the efficiencies of the
> >database format. Since those have been resolved, we can rewrite this in
> >bash as a much simpler script.
> >
> >All the action happens in a single line, but we add extend this a
> >little, binding to gettext to keep our pacman translations intact.
> >
> >Signed-off-by: Dave Reisner<dreisner at archlinux.org>
>
> Almost signed-off-by: Allan
>
> Can we keep the old usage message too? Or at least something close to it.
>
> allan at mugen /home/arch/code/pacman (working)
> > paclist
> paclist - List all packages installed from a given repo
> Usage: paclist <repo>
> Example: paclist testing
>
> allan at mugen /home/arch/code/pacman (working)
> > ./contrib/paclist
> usage: paclist <repo>
>
And spoil all the magic? What hidden treasures might be unearthed by
this wonderous tool of mischief and mayhem? WHO KNOWS?! There's only one
way to find out!
$ paclist gold!
error: repository "gold!" was not found.
Yeah, yeah. It's added.
d
More information about the pacman-dev
mailing list