Extract usage information into a separate file.

This commit is contained in:
Matt Kraai
2000-07-16 20:57:15 +00:00
parent 3bd8bd89ee
commit bf181b9338
175 changed files with 2529 additions and 2050 deletions

13
head.c
View File

@ -26,17 +26,6 @@
#include <errno.h>
#include <stdio.h>
const char head_usage[] =
"head [OPTION] [FILE]...\n"
#ifndef BB_FEATURE_TRIVIAL_HELP
"\nPrint first 10 lines of each FILE to standard output.\n"
"With more than one FILE, precede each with a header giving the\n"
"file name. With no FILE, or when FILE is -, read standard input.\n\n"
"Options:\n" "\t-n NUM\t\tPrint first NUM lines instead of first 10\n"
#endif
;
int head(int len, FILE * src)
{
int i;
@ -111,4 +100,4 @@ int head_main(int argc, char **argv)
return(0);
}
/* $Id: head.c,v 1.12 2000/07/14 01:51:25 kraai Exp $ */
/* $Id: head.c,v 1.13 2000/07/16 20:57:15 kraai Exp $ */