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"