[arch-general] How do you extract version from pacman?

Oon-Ee Ng ngoonee.talk at gmail.com
Thu Jul 26 23:33:50 EDT 2012


Thanks to Morris and Christian (karol too, but rather not have an
additional package). Can't seem to find a reference to this specific
behaviour on the pacman manpage, unfortunately, but it'll simplify my
script.

Looks like there's no way not to have the last -4 included though, but
since that's version reference and quite important, I guess no way
around me having to sed it out. Thanks again =)


More information about the arch-general mailing list