[arch-general] How do you extract version from pacman?
Martin Cigorraga
msx at archlinux.us
Fri Jul 27 00:14:19 EDT 2012
On 26 July 2012 06:37, Christian Hesse <list at eworm.de> wrote:
> Morris <lorimz at gmail.com> on Thu, 2012/07/26 11:24:
> > On Thu, Jul 26, 2012 at 11:19 AM, Oon-Ee Ng <ngoonee.talk at gmail.com>
> wrote:
> >
>
Or the same with cut:
>
> $ pacman -Q virtualbox | cut -d' ' -f2
> 4.1.18-4
>
> Getting the complete package information is not required.
> -
>
I was just to suggest this!
Anyway, this diversity and broad way to achieve the same goal is what makes
Unix-like OSes so pretty: all roads leads to Rome ^_^
--
-msx
More information about the arch-general
mailing list