diff --git a/README b/README index c53be52..fddc9ac 100644 --- a/README +++ b/README @@ -67,7 +67,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 yes none =* sync non-posix none =* tail yes none diff --git a/sponge.c b/sponge.c index ee21c27..bcc0f7a 100644 --- a/sponge.c +++ b/sponge.c @@ -7,7 +7,7 @@ static void usage(void) { - eprintf("usage: sponge file\n"); + eprintf("usage: %s file\n", argv0); } int @@ -25,7 +25,6 @@ main(int argc, char *argv[]) if (!(tmpfp = tmpfile())) eprintf("tmpfile:"); - concat(stdin, "", tmpfp, ""); rewind(tmpfp);