[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: allow xargs to read from file

From: Christer Ekholm
Subject: Re: allow xargs to read from file
Date: Thu, 19 Aug 2004 22:31:46 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux)

Tim Waugh <address@hidden> writes:

> Hi,
> http://savannah.gnu.org/patch/?func=detailitem&item_id=2799
> includes a patch to allow xargs to read from a file instead of
> standard input.  This would allow interactive commands to be executed
> by xargs, and I think that would be useful.
> Is there any reason that patch can't go in?
> Thanks,
> Tim.
> */
> _______________________________________________
> Bug-findutils mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-findutils

I see no reason for it. Your shell is perfectly capable of redirecting
the input from a file.

I can't se what you gain by writing:

$ xargs -a file_with_args command

instead of just:

$ xargs command < file_with_args


reply via email to

[Prev in Thread] Current Thread [Next in Thread]