bug-coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] Add new program: psub


From: Bo Borgerson
Subject: Re: [PATCH] Add new program: psub
Date: Mon, 28 Apr 2008 09:19:34 -0400

On Sun, Apr 27, 2008 at 9:02 PM, Bo Borgerson <address@hidden> wrote:
> Hi,
>
>  This program uses the temporary fifo management system that I built
>  for zargs to provide generic process substitution for arguments to a
>  sub-command.
>
>  This program has some advantages over the process substitution built
>  into some shells (bash, zsh, ksh, ???):
>
>  1. It doesn't rely on having a shell that supports built-in process
>  substitution.
>  2. By using descriptively named temporary fifos it allows programs
>  that include filenames in output or diagnostic messages to provide
>  more useful information than with '/dev/fd/*' inputs.
>  3. It supports `--files0-from=F' style argument passing, as well.
>

Hi, I'd like to point out that this is also true of `xargs' invocation.

$ echo "<ls" | xargs psub wc

works, whereas:

$ echo "<(ls)" | xargs wc

of course, doesn't.

Thanks,

Bo




reply via email to

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