diff options
author | Dave Reisner <d@falconindy.com> | 2010-11-04 16:05:28 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-11-04 21:10:32 -0500 |
commit | 4fb3cfc48f626f84329c78351d6a8710255a35e3 (patch) | |
tree | 565967136382130ddc850ceac030c7543c635909 /HACKING | |
parent | 0f3957ab48f34df8e151ec026dfac0d9d2df5aec (diff) | |
download | pacman-4fb3cfc48f626f84329c78351d6a8710255a35e3.tar.xz |
Support reading package args from stdin
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
This is better than using xargs, as xargs will not reconnect stdin to
the terminal. The above operation performed using xargs would require
the --noconfirm flag to be passed to pacman.
Signed-off-by: Dave Reisner <d@falconindy.com>
Diffstat (limited to 'HACKING')
0 files changed, 0 insertions, 0 deletions