[pacman-dev] [PATCH] contrib/paclist: rewrite in bash

Allan McRae allan at archlinux.org
Thu Jun 30 09:29:50 EDT 2011

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>

More information about the pacman-dev mailing list