TL;DR: Attached: Patch to allow split to write into FIFOs.
Currently, split fails when its output files are FIFOs because
FIFOs cannot be ftruncate()d. Split exits with this error message:
split: xaa: error truncating: Invalid argument
The attached patch causes split to only attempt the ftr
Thanks for reporting that. I see similar problems in a couple of other coreutils
programs. The style elsewhere seems to be to try ftruncate first, and report an
error if it fails only if the file is not one for which POSIX specifies the
behavior, so I think it'd be better if 'split' did that too
I forgot to add a NEWS item for this, which I fixed by installing the attached.
>From c8161ff3e4b50882fde7dc4533004b130a170339 Mon Sep 17 00:00:00 2001
From: Paul Eggert
Date: Sat, 15 Dec 2018 12:42:18 -0800
Subject: [PATCH] shred,sort,split: add NEWS item
---
NEWS | 7 +++
1 file changed,
Hello,
On 2018-12-13 5:18 p.m., Zhiming Wang wrote:
On Dec 13, 2018, at 3:27 PM, Assaf Gordon wrote:
https://www.gnu.org/software/coreutils/quotes.html
- The page doesn't seem to be linked from anywhere; not the coreutils FAQ, not
the manual. So discoverability seems rather poor?
On Sat, Dec 15, 2018 at 12:20:00PM -0800, Paul Eggert wrote:
> Thanks also for the test case. To install that I'll need a copyright
> assignment
> form signed; can you do that for us? If so, please let me know and I'll get
> the
> paperwork ball rolling for you.
Yes, I can do copyright assignm