1
0
mirror of git://git.suckless.org/sbase synced 2024-12-23 15:34:38 +00:00
sbase/sponge.1
FRIGN e51a2e6d2f Use ISO-date-format in manpages
The one specified by mdoc is hard to read for non-native
speakers from countries which read the date day-first (like
Germany, Greece, North-Korea, Swamp,...).
This is also consistent with how we generally specify dates
at suckless.org.
2015-10-08 17:15:08 +02:00

20 lines
384 B
Groff

.Dd 2015-10-08
.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.