sponge.1: convert to mandoc

This commit is contained in:
Hiltjo Posthuma 2015-01-31 00:16:25 +01:00
parent 4e7cbbee28
commit 658b5989d3

View File

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