From 416a068df6370bbab49fb3194111e692bd6f3147 Mon Sep 17 00:00:00 2001 From: Connor Lane Smith Date: Wed, 25 May 2011 11:56:04 +0100 Subject: [PATCH] fix head manpage --- date.c | 4 ++-- head.1 | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/date.c b/date.c index 141c88d..8306170 100644 --- a/date.c +++ b/date.c @@ -8,8 +8,8 @@ int main(int argc, char *argv[]) { - char buf[BUFSIZ], c, *end; - char *fmt = "%c"; + char buf[BUFSIZ], c; + char *end, *fmt = "%c"; struct tm *now = NULL; time_t t; diff --git a/head.1 b/head.1 index 37c30b8..4d9e588 100644 --- a/head.1 +++ b/head.1 @@ -8,7 +8,8 @@ head \- output first part of files .RI [ file ...] .SH DESCRIPTION .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 .TP .BI \-n " lines"