Extract usage information into a separate file.
diff --git a/head.c b/head.c
index b82678d..58b3cae 100644
--- a/head.c
+++ b/head.c
@@ -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 @@
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 $ */