[hackers] [sbase] Refactor sponge(1) code and manpage || FRIGN

From: <git_AT_suckless.org>
Date: Tue, 24 Mar 2015 23:53:37 +0100 (CET)

commit 1df65f4af4c87955d09bfa33ef0297d302d779bb
Author: FRIGN <dev_AT_frign.de>
Date: Sun Feb 8 22:17:21 2015 +0100

    Refactor sponge(1) code and manpage
    
    and mark it as finished in README.

diff --git a/README b/README
index f6a8e0a..e9c0d02 100644
--- a/README
+++ b/README
_AT_@ -61,7 +61,7 @@ The following tools are implemented ('*' == finished, '#' == UTF-8 support,
 =* sleep yes none
    sort no -m, -o, -d, -f, -i
 =* split yes none
-= sponge non-posix none
+=* sponge non-posix none
    strings no -a, -n, -t
 =* sync non-posix none
 = tail no -c, -f
diff --git a/sponge.1 b/sponge.1
index ee2e56b..66bb7fe 100644
--- a/sponge.1
+++ b/sponge.1
_AT_@ -1,4 +1,4 @@
-.Dd January 30, 2015
+.Dd February 8, 2015
 .Dt SPONGE 1
 .Os sbase
 .Sh NAME
_AT_@ -14,7 +14,6 @@ reads stdin completely, then writes the saved contents to
 This makes it possible to easily create pipes which read from and write to
 the same file.
 .Pp
-If the given
+If
 .Ar file
-is a symbolic link, it writes to the links destination
-instead.
+is a symbolic link, it writes to its destination instead.
diff --git a/sponge.c b/sponge.c
index d24de03..ee21c27 100644
--- a/sponge.c
+++ b/sponge.c
_AT_@ -1,6 +1,5 @@
 /* See LICENSE file for copyright and license details. */
 #include <stdio.h>
-#include <stdlib.h>
 
 #include "text.h"
 #include "util.h"
Received on Tue Mar 24 2015 - 23:53:37 CET

This archive was generated by hypermail 2.3.0 : Wed Mar 25 2015 - 00:08:11 CET