1
0
mirror of git://git.suckless.org/sbase synced 2024-12-26 00:42:35 +00:00
sbase/sponge.1
FRIGN 1df65f4af4 Refactor sponge(1) code and manpage
and mark it as finished in README.
2015-02-08 22:17:21 +01:00

20 lines
390 B
Groff

.Dd February 8, 2015
.Dt SPONGE 1
.Os sbase
.Sh NAME
.Nm sponge
.Nd soak up standard input and write to a file
.Sh SYNOPSIS
.Nm
.Ar file
.Sh DESCRIPTION
.Nm
reads stdin completely, then writes the saved contents to
.Ar file .
This makes it possible to easily create pipes which read from and write to
the same file.
.Pp
If
.Ar file
is a symbolic link, it writes to its destination instead.