[pacman-dev] [PATCH] Support reading package args from stdin

Daenyth Blank daenyth+arch at gmail.com
Sat Jul 24 10:30:45 EDT 2010


On Sat, Jul 24, 2010 at 10:21, Dan McGee <dpmcgee at gmail.com> wrote:
> On Fri, Jul 23, 2010 at 10:26 PM, Dave Reisner <d at falconindy.com> wrote:
>> Only occurs if no arguments were provided directly. Arguments can be
>> separated by any amount of valid whitespace. This allows for piping into
>> pacman from other programs or from itself, e.g.:
>>
>>  pacman -Qdtq | pacman -Rs
>
> What's wrong with xargs?
You can also just do pacman -Rs $(pacman -Qqdt)


More information about the pacman-dev mailing list