summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2010-11-04 21:05:28 +0100
committerDan McGee <dan@archlinux.org>2010-11-05 03:10:32 +0100
commit4fb3cfc48f626f84329c78351d6a8710255a35e3 (patch)
tree565967136382130ddc850ceac030c7543c635909 /scripts
parent0f3957ab48f34df8e151ec026dfac0d9d2df5aec (diff)
downloadpacman-4fb3cfc48f626f84329c78351d6a8710255a35e3.tar.gz
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 'scripts')
0 files changed, 0 insertions, 0 deletions