We used list_display() on -Sg output, which might have been slightly nicer
looking but made it much harder to parse in something like a shell script.
Reformat it in the 'grpname pkgname' format that -Qg is already using.
_______________________________________________
pacman-dev mailing list
pacman-dev@archlinux.org
http://archlinux.org/mailman/listinfo/pacman-dev
06-06-2008, 08:55 AM
Xavier
Reformat -Sg output to look like -Qg
On Fri, Jun 6, 2008 at 6:23 AM, Dan McGee <dan@archlinux.org> wrote:
> We used list_display() on -Sg output, which might have been slightly nicer
> looking but made it much harder to parse in something like a shell script.
> Reformat it in the 'grpname pkgname' format that -Qg is already using.
>
> Signed-off-by: Dan McGee <dan@archlinux.org>
Sounds good to me.
_______________________________________________
pacman-dev mailing list
pacman-dev@archlinux.org
http://archlinux.org/mailman/listinfo/pacman-dev
06-06-2008, 12:13 PM
Xavier
Reformat -Sg output to look like -Qg
Please ignore the attached file. I wanted to refactor the code a bit,
but I realized too late that it was not easy because of the level
handling (-Sg vs -Sgg), so I gave up, but I forgot to remove the
attachment...
_______________________________________________
pacman-dev mailing list
pacman-dev@archlinux.org
http://archlinux.org/mailman/listinfo/pacman-dev