sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit 658b5989d35b803df0e1e8bddc0515180fbf2503
parent 4e7cbbee28d696d8b913e6afff326d5559887807
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sat, 31 Jan 2015 00:16:25 +0100

sponge.1: convert to mandoc

Diffstat:
Msponge.1 | 25++++++++++++++-----------
1 file changed, 14 insertions(+), 11 deletions(-)

diff --git a/sponge.1 b/sponge.1 @@ -1,15 +1,18 @@ -.TH SPONGE 1 sbase\-VERSION -.SH NAME -sponge \- soak up standard input and write to a file -.SH SYNOPSIS -.B sponge -.IR file -.SH DESCRIPTION -.B sponge +.Dd January 30, 15 +.Dt SPONGE 1 sbase\-VERSION +.Os +.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 -.IR file . +.Ar file . This makes it possible to easily create pipes which read from and write to the same file. - -If the given file is a symbolic link, it writes to the links's destination +.Pp +If the given file is a symbolic link, it writes to the links destination instead.