Your message dated Sun, 16 Mar 2008 09:22:11 +0100 with message-id <[EMAIL PROTECTED]> and subject line Re: Bug#358905: xargs: needs options to set stdin for the callee has caused the Debian Bug report #358905, regarding xargs: needs options to set stdin for the callee to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [EMAIL PROTECTED] immediately.) -- 358905: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=358905 Debian Bug Tracking System Contact [EMAIL PROTECTED] with problems
--- Begin Message ---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
--- End Message ---
--- Begin Message ---Version: 4.2.20-2 On 2006-03-25 Goswin Brederlow <[EMAIL PROTECTED]> wrote: > 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. Hello, since upstream version 4.2.7 there is a way to accomplish this: --arg-file=file, -a file Read items from file instead of standard input. If you use this option, stdin remains unchanged when commands are run. Other‐ wise, stdin is redirected from /dev/null. I am marking the bug-report as fixed in the first 4.2.x upload to unstable. cu and- Thanks to Jay for pointing that this is fixed. -reas -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.' `I sew his ears on from time to time, sure'
--- End Message ---

