History log of /src/usr.bin/head/head.c |
Revision | | Date | Author | Comments |
1.24 |
| 12-May-2016 |
nonaka | If the negative number is passed to option '-c' or '-n', it should occur an error.
|
1.23 |
| 31-Mar-2010 |
joerg | Just ignore the errno of strtoimax, it doesn't provide much value.
|
1.22 |
| 31-Mar-2010 |
joerg | Remove 2**31 limit on the number of lines or bytes to process. For the byte operations, process in blocks of 64KB.
|
1.21 |
| 31-Mar-2010 |
joerg | Make eval a local variable.
|
1.20 |
| 31-Mar-2010 |
joerg | ANSIfy. Sprinkle static.
|
1.19 |
| 21-Jul-2008 |
lukem | Remove the \n and tabs from the __COPYRIGHT() strings. Tweak to use a consistent format.
|
1.18 |
| 04-May-2004 |
mrg | branches: 1.18.28; add support for: -q quiet; never show filename headers -v verbose; always show headers -c <bytecount>; count <bytecount> bytes, not lines
as seen in GNU head(1).
|
1.17 |
| 05-Jan-2004 |
jmmv | Homogenize usage messages: make the 'usage' word all lowercase, as this seems to be the most common practice in our tree.
|
1.16 |
| 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
|
1.15 |
| 18-Apr-2003 |
lukem | clear errno before strto(u)l() if we're going to test it for ERANGE afterwards
|
1.14 |
| 19-Feb-2001 |
cgd | convert to use getprogname()
|
1.13 |
| 05-Feb-2001 |
christos | fix nested extern
|
1.12 |
| 09-Nov-1999 |
drochner | Since our gcc doesn't warn about NULL format strings anymore, we can fix the incorrect err(1, "%s", "") et al. Closes PR bin/7592 by cgd.
|
1.11 |
| 19-Dec-1998 |
christos | branches: 1.11.6; char -> unsigned char
|
1.10 |
| 31-Jan-1998 |
christos | Remove __GNUC__ ifdef, and make usage string consistent with other programs.
|
1.9 |
| 27-Jan-1998 |
kleink | * When opening a file fails, just issue a warning; convert to appropriate use of the err(3) function; from NAKAJIMA Yoshihiro in PR bin/4870. * Initialize native locale environment on startup. * Since strtol() is used to convert the number of lines to be printed, make linecnt and assorted variables `long's, and perform range checks on it.
|
1.8 |
| 19-Oct-1997 |
lukem | branches: 1.8.2; use err.h for err() prototype, deprecate register, fix .Nm usage
|
1.7 |
| 18-Oct-1997 |
mrg | merge lite-2; also WARNSify the 2 warnings left.
|
1.6 |
| 09-Jan-1997 |
tls | RCS ID police
|
1.5 |
| 13-Oct-1993 |
jtc | #include <unistd.h>, so getopt(), optarg, opterr, optind, and optopt declarations can be removed from <stdlib.h>.
|
1.4 |
| 27-Aug-1993 |
jtc | Minor tweaks: including header files to bring prototypes into scope, explicitly declaring function return values, etc. to make gcc -Wall shut up.
|
1.3 |
| 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
1.2 |
| 15-Jul-1993 |
jtc | Make POSIX 1003.2 (Draft 11.2) compliant.
|
1.1 |
| 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.2 |
| 04-May-1995 |
mrg | 4.4BSD-Lite2
|
1.1.1.1 |
| 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.8.2.1 |
| 08-Feb-1998 |
mellon | Pull up 1.9 and 1.10 (kleink)
|
1.11.6.1 |
| 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
1.18.28.1 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|