� wrote:
On 2017-10-17 at 14:28 -0400, Daniel Mills wrote:
Cygwin implements mkfifo, which bash will use in place of /dev/fd
The provided error messages suggest that bash is trying to use /dev/fd:
R:bin/iotest: line 112: /dev/fd/62: No such file or directory
cat: write er
On 2017-10-17 at 14:28 -0400, Daniel Mills wrote:
>
> Cygwin implements mkfifo, which bash will use in place of /dev/fd
The provided error messages suggest that bash is trying to use /dev/fd:
> R:bin/iotest: line 112: /dev/fd/62: No such file or directory
> cat: write error: Broken pipe
On Tue, Oct 17, 2017 at 1:37 PM, Ángel 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 2017-10-17 at 03:28 -0700, L A Walsh wrote:
> I run the test using cygwin, and use /dev/zero and /dev/null --
> creating those files in my home directory on each platform.
>
> That way I can copy from /dev/zero on one platform to /dev/null on the other
> or vice-versa to get timings of file tra
"Brian J. Murrell" <[EMAIL PROTECTED]> wrote:
> It is a shame for this particular reason that head does not (perhaps as
> an option) consume it's input after displaying the 20 lines.
You can do that with sed:
... | sed '21,$d'
paul
On Wed, 2008-02-13 at 16:00 -0500, Brian J. Murrell wrote:
>
> find / -type f -print 2>&1 | head -20 || true
Doh!
This of course won't work. The first solution should though.
b.
signature.asc
Description: This is a digitally signed message part
On Wed, 2008-02-13 at 14:56 -0600, Michael Potter wrote:
> Bash Bunch,
>
> I googled a bit and it see this problem asked several times, but I
> never really saw a slick solution:
>
> given this:
>
> set -o pipefail
> find / -type f -print 2>&1 |head -20
> echo ${PIPESTATUS[*]}
>
> prints this: