1
0
mirror of git://git.suckless.org/sbase synced 2024-12-27 01:12:19 +00:00
sbase/sponge.1

16 lines
392 B
Groff
Raw Normal View History

2013-07-02 17:26:24 +00:00
.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
reads stdin completely, then writes the saved contents to
.IR 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
instead.