sed: Add usage
This commit is contained in:
parent
38cc01b887
commit
a0a8791704
4
sed.c
4
sed.c
|
@ -355,7 +355,9 @@ leprintf(char *s)
|
||||||
static void
|
static void
|
||||||
usage(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
|
/* Differences from POSIX
|
||||||
|
|
Loading…
Reference in New Issue
Block a user