sbase

suckless unix tools
git clone git://git.2f30.org/sbase.git
Log | Files | Refs | README | LICENSE

commit a0a87917044cc6e485539e30a594bf924029f1c5
parent 38cc01b8874900eab684d70847b8ca3a3e580a0f
Author: Pieter Kockx <pieterkockx@gmail.com>
Date:   Wed, 25 Oct 2017 09:55:50 +0200

sed: Add usage

Diffstat:
sed.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sed.c b/sed.c @@ -355,7 +355,9 @@ leprintf(char *s) static void usage(void) { - eprintf("USAGE\n"); + eprintf("usage: sed [-nrE] script [file ...]\n" + " sed [-nrE] -e script [-e script] ... [-f scriptfile] ... [file ...]\n" + " sed [-nrE] [-e script] ... -f scriptfile [-f scriptfile] ... [file ...]\n"); } /* Differences from POSIX