Package: findutils
Version: 4.1.20-6
Severity: wishlist
File: /usr/bin/xargs

Hi,

sometimes the command I want to run with xargs needs an stdin or even
a tty but xargs doesn't have an option to set stdin for the called
command.

E.g:

grep-dctrl -F Status "install ok installed" -s Package -n \
/var/lib/dpkg/status | xargs sudo apt-get install --reinstall

fails when apt-get needs any interaction. One also can't use
"</dev/tty" as xargs would then read the options from there.


It would be nice to have something like

xargs --stdin=/dev/tty cmd

that would use the given device as stdin for every invokation.

MfG
        Goswin

-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.16-rc4-xen
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages findutils depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to