Audit sponge(1)
Just a little usage()-fix. Mark it as audited in README.
This commit is contained in:
parent
0c9b52ef9b
commit
80d89c400f
2
README
2
README
|
@ -67,7 +67,7 @@ The following tools are implemented ('*' == finished, '#' == UTF-8 support,
|
||||||
=*| sleep yes none
|
=*| sleep yes none
|
||||||
sort no -m, -o, -d, -f, -i
|
sort no -m, -o, -d, -f, -i
|
||||||
=* split yes none
|
=* split yes none
|
||||||
=* sponge non-posix none
|
=*| sponge non-posix none
|
||||||
#* strings yes none
|
#* strings yes none
|
||||||
=* sync non-posix none
|
=* sync non-posix none
|
||||||
=* tail yes none
|
=* tail yes none
|
||||||
|
|
3
sponge.c
3
sponge.c
|
@ -7,7 +7,7 @@
|
||||||
static void
|
static void
|
||||||
usage(void)
|
usage(void)
|
||||||
{
|
{
|
||||||
eprintf("usage: sponge file\n");
|
eprintf("usage: %s file\n", argv0);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
@ -25,7 +25,6 @@ main(int argc, char *argv[])
|
||||||
|
|
||||||
if (!(tmpfp = tmpfile()))
|
if (!(tmpfp = tmpfile()))
|
||||||
eprintf("tmpfile:");
|
eprintf("tmpfile:");
|
||||||
|
|
||||||
concat(stdin, "<stdin>", tmpfp, "<tmpfile>");
|
concat(stdin, "<stdin>", tmpfp, "<tmpfile>");
|
||||||
rewind(tmpfp);
|
rewind(tmpfp);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user