fix head manpage
This commit is contained in:
parent
262f357fdd
commit
416a068df6
4
date.c
4
date.c
|
@ -8,8 +8,8 @@
|
||||||
int
|
int
|
||||||
main(int argc, char *argv[])
|
main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
char buf[BUFSIZ], c, *end;
|
char buf[BUFSIZ], c;
|
||||||
char *fmt = "%c";
|
char *end, *fmt = "%c";
|
||||||
struct tm *now = NULL;
|
struct tm *now = NULL;
|
||||||
time_t t;
|
time_t t;
|
||||||
|
|
||||||
|
|
3
head.1
3
head.1
|
@ -8,7 +8,8 @@ head \- output first part of files
|
||||||
.RI [ file ...]
|
.RI [ file ...]
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.B head
|
.B head
|
||||||
writes the first 10 lines of each file to stdout.
|
writes the first 10 lines of each file to stdout. If no file is given, head
|
||||||
|
reads from stdin.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.TP
|
||||||
.BI \-n " lines"
|
.BI \-n " lines"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user