[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: broken pipe from func-output by changing network settings?
From: |
Daniel Mills |
Subject: |
Re: broken pipe from func-output by changing network settings? |
Date: |
Tue, 17 Oct 2017 14:28:39 -0400 |
On Tue, Oct 17, 2017 at 1:37 PM, Ángel <angel@16bits.net> wrote:
> bash converts < <( dd_need_io "$if" "$of" ...) into a read
> from /dev/fd/62 in order to make readarray read file descriptor 62.
>
> Given that this the host OS doesn't provide them, the first thing I
> would verify would be: is cygwin, as setup on that system, providing
> such descriptors?
>
> As a simple test, you can do:
> wc -l <(cat /etc/passwd)
>
> (change /etc/passwd to another file if that's not available)
>
> Regards
>
>
> Cygwin implements mkfifo, which bash will use in place of /dev/fd