aboutsummaryrefslogtreecommitdiff
path: root/head.c
diff options
context:
space:
mode:
Diffstat (limited to 'head.c')
-rw-r--r--head.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/head.c b/head.c
index b82678dc2..58b3cae68 100644
--- a/head.c
+++ b/head.c
@@ -26,17 +26,6 @@
26#include <errno.h> 26#include <errno.h>
27#include <stdio.h> 27#include <stdio.h>
28 28
29const char head_usage[] =
30 "head [OPTION] [FILE]...\n"
31#ifndef BB_FEATURE_TRIVIAL_HELP
32 "\nPrint first 10 lines of each FILE to standard output.\n"
33 "With more than one FILE, precede each with a header giving the\n"
34 "file name. With no FILE, or when FILE is -, read standard input.\n\n"
35
36 "Options:\n" "\t-n NUM\t\tPrint first NUM lines instead of first 10\n"
37#endif
38 ;
39
40int head(int len, FILE * src) 29int head(int len, FILE * src)
41{ 30{
42 int i; 31 int i;
@@ -111,4 +100,4 @@ int head_main(int argc, char **argv)
111 return(0); 100 return(0);
112} 101}
113 102
114/* $Id: head.c,v 1.12 2000/07/14 01:51:25 kraai Exp $ */ 103/* $Id: head.c,v 1.13 2000/07/16 20:57:15 kraai Exp $ */