coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: potential addition of sponge to POSIX


From: Marc Chantreux
Subject: Re: potential addition of sponge to POSIX
Date: Thu, 19 Jun 2025 18:55:54 +0200

On Thu, Jun 19, 2025 at 05:32:41PM +0100, Pádraig Brady wrote:
> If we were to standardize a new tool,
> we should aim for ACID file replacement functionality.

it seems to me that's the whole point of sponge:

< A foo | bar | bang > A        # fail
< A foo | bar | bang | sponge A # ok

as the lhs is closed last, A isn't corrupted.

so out of curriosity: is there another possible usage ?

regards.

-- 
Marc Chantreux
Pôle CESAR (Calcul et services avancés à la recherche)
Université de Strasbourg
14 rue René Descartes,
BP 80010, 67084 STRASBOURG CEDEX
03.68.85.60.79




reply via email to

[Prev in Thread] Current Thread [Next in Thread]