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