Re: [dev] [sbase] sponge

From: Truls Becken <truls.becken_AT_gmail.com>
Date: Tue, 25 Jun 2013 21:21:37 +0200

On 2013-06-25, at 20:39, Calvin Morrison wrote:

> sponge sucks up stdin, waits till it is closed then puts it out to stdout

Except it does not actually sponge in the stdout case, only when writing to
file. Perhaps it would be better to drop support for stdout? Or cat temp
file to stdout at the end? Why does it open a temp file when not using it?

From a manpage found somewhere on the net:

  It also creates the output file atomically by renaming a temp file into
  place, and preserves the permissions of the output file if it already
  exists. If the output file is a special file or symlink, the data will
  be written to it.

The two last bits are not so in the proposed sbase version. Should they be?

-Truls
Received on Tue Jun 25 2013 - 21:21:37 CEST

This archive was generated by hypermail 2.3.0 : Tue Jun 25 2013 - 21:24:05 CEST