sbase

suckless unix tools
git clone git://git.2f30.org/sbase.git
Log | Files | Refs | README | LICENSE

commit 416a068df6370bbab49fb3194111e692bd6f3147
parent 262f357fdd137895cfcdbc957da6332eecc47ba6
Author: Connor Lane Smith <cls@lubutu.com>
Date:   Wed, 25 May 2011 11:56:04 +0100

fix head manpage
Diffstat:
date.c | 4++--
head.1 | 3++-
2 files changed, 4 insertions(+), 3 deletions(-)

diff --git 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 @@ -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"