On 04/20/2013 02:59 PM, James Youngman wrote:
> On Fri, Mar 9, 2012 at 10:41 PM, Pádraig Brady wrote:
>>
>> I noticed xargs output a warning about SIGPIPE
>>
>> $ yes 1234 | xargs -n1 | head -n1
>> 1234
>> xargs: /bin/echo: terminated by signal 13
>>
>> That's not normally the case on the shell:
>
On Fri, Mar 9, 2012 at 10:41 PM, Pádraig Brady wrote:
>
> I noticed xargs output a warning about SIGPIPE
>
> $ yes 1234 | xargs -n1 | head -n1
> 1234
> xargs: /bin/echo: terminated by signal 13
>
> That's not normally the case on the shell:
>
> $ yes 1234 | head -n1
> 1234
>
> Nor in other process
I noticed xargs output a warning about SIGPIPE
$ yes 1234 | xargs -n1 | head -n1
1234
xargs: /bin/echo: terminated by signal 13
That's not normally the case on the shell:
$ yes 1234 | head -n1
1234
Nor in other process management utils:
$ timeout 1 yes 1234 | head -n1
1234
Could we supress th