Up to [local] / src / usr.bin / uniq
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_7_4
Revision 1.33 / (download) - annotate - [select for diffs], Sat Jan 1 18:20:52 2022 UTC (2 years, 5 months ago) by cheloha
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3,
OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1,
HEAD
Changes since 1.32: +9 -16 lines
Diff to previous 1.32 (colored)
uniq(1): miscellaneous style(9)-ish stuff - Include what you use: + Add <strings.h> for strcasecmp(3). + Drop <errno.h>, unused. - Pull the "errstr" declaration out of the getopt(3) loop up to the top of main(). - Align the strtonum(3) error messages with the argument names in the uniq.1 manpage and the usage string. They are referred to as "chars" and "fields". - Trim some whitespace. - Return from main() instead of exit(3). - De-(void) fprintf(3). - Prefer getprogname(3) to __progname.