Bug 130303 - Patch to allow xargs to read from file
Summary: Patch to allow xargs to read from file
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: findutils
Version: 2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Mike McLean
URL: http://savannah.gnu.org/patch/?func=d...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-08-18 21:43 UTC by Robin Green
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-12-10 14:28:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Robin Green 2004-08-18 21:43:08 UTC
Please could you apply, or nudge upstream to apply, this patch to
xargs that I wrote, adding an option to read filenames from a file
instead of stdin:

http://savannah.gnu.org/patch/?func=detailitem&item_id=2799

For me there are two key use cases for this patch:

1. I can use find to build an mplayer playlist, and then use xargs -a
playlist mplayer without losing keyboard controls in mplayer.

2. If I'm using xargs -a in a script, I can quickly substitute "gdb
--args prog" for "prog" to debug prog in the real-life context that it
is being called. Without the -a option, it would be impossible to do
it this convenient way, because gdb would not be able to read from the
keyboard.

Of course, it's useful for any interactive program that you might want
to call from xargs.

Comment 1 Tim Waugh 2004-12-10 14:28:43 UTC
I think this has been applied upstream now.


Note You need to log in before you can comment on or make changes to this bug.