sponge.1 (389B)
1 .Dd October 8, 2015 2 .Dt SPONGE 1 3 .Os sbase 4 .Sh NAME 5 .Nm sponge 6 .Nd soak up standard input and write to a file 7 .Sh SYNOPSIS 8 .Nm 9 .Ar file 10 .Sh DESCRIPTION 11 .Nm 12 reads stdin completely, then writes the saved contents to 13 .Ar file . 14 This makes it possible to easily create pipes which read from and write to 15 the same file. 16 .Pp 17 If 18 .Ar file 19 is a symbolic link, it writes to its destination instead.