bug#47883: sort -o loses data when it crashes

2021-04-24 Thread Paul Eggert
As I wrote you privately last month, the coreutils maintainers (who are not me) are pretty busy. The proposed change in bug#47883 would be incompatible with longstanding tradition and would almost certainly break some existing scripts running on GNU/Linux. This is not something to do lightly.

bug#47883: sort -o loses data when it crashes

2021-04-21 Thread Paul Eggert
On 4/18/21 10:46 AM, Peter van Dijk wrote: While the manual (but not the manpage) mentions the data loss, I think it would be great if sort did not have this problem at all, and I think the OpenGroup text also says it should not have this problem. I don't know of any 'sort' implementation tha

bug#47883: sort -o loses data when it crashes

2021-04-18 Thread Peter van Dijk
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/sort.html: -o output Specify the name of an output file to be used instead of the standard output. This file can be the same as one of the input files. https://www.gnu.org/software/coreutils/manual/html_node/sort-invocation.html: "d