"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "count/count.c" between
schily-2021-08-14.tar.bz2 and schily-2021-09-18.tar.bz2

About: Schily Tools are a collection of programs like cdrecord, cdda2wav, mkisofs, star and much more. In memoriam of the author Jörg Schilling, who passed away in October 2021.

count.c  (schily-2021-08-14.tar.bz2):count.c  (schily-2021-09-18.tar.bz2)
/* @(#)count.c 1.30 18/11/03 Copyright 1986-2018 J. Schilling */ /* @(#)count.c 1.31 21/08/20 Copyright 1986-2021 J. Schilling */
#include <schily/mconfig.h> #include <schily/mconfig.h>
#ifndef lint #ifndef lint
static UConst char sccsid[] = static UConst char sccsid[] =
"@(#)count.c 1.30 18/11/03 Copyright 1986-2018 J. Schilling"; "@(#)count.c 1.31 21/08/20 Copyright 1986-2021 J. Schilling";
#endif #endif
/* /*
* count words, lines, and/or chars in files * count words, lines, and/or chars in files
* *
* Copyright (c) 1986-2018 J. Schilling * Copyright (c) 1986-2021 J. Schilling
*/ */
/* /*
* The contents of this file are subject to the terms of the * The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only * Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance * (the "License"). You may not use this file except in compliance
* with the License. * with the License.
* *
* See the file CDDL.Schily.txt in this distribution for details. * See the file CDDL.Schily.txt in this distribution for details.
* A copy of the CDDL is also available via the Internet at * A copy of the CDDL is also available via the Internet at
* http://www.opensource.org/licenses/cddl1.txt * http://www.opensource.org/licenses/cddl1.txt
skipping to change at line 146 skipping to change at line 146
&llflg, &llflg, &llflg, &llflg,
&sflg, &sflg, &sflg, &sflg,
&totflg, &totflg, &tabstop, &totflg, &totflg, &tabstop,
&help, &prversion) < 0) { &help, &prversion) < 0) {
errmsgno(EX_BAD, "Bad Option: '%s'.\n", cav[0]); errmsgno(EX_BAD, "Bad Option: '%s'.\n", cav[0]);
usage(EX_BAD); usage(EX_BAD);
} }
if (help) if (help)
usage(0); usage(0);
if (prversion) { if (prversion) {
printf( gtprintf(
_("Count release %s %s (%s-%s-%s) Copyright (C) 1986-2018 Jörg Sc "Count release %s %s (%s-%s-%s) Copyright (C) 1986-2021 %s\n",
hilling\n"), "1.31", "2021/08/20",
"1.30", "2018/11/03", HOST_CPU, HOST_VENDOR, HOST_OS,
HOST_CPU, HOST_VENDOR, HOST_OS); _("Jörg Schilling"));
exit(0); exit(0);
} }
if (!(lflg || wflg || cflg || mflg || llflg)) { if (!(lflg || wflg || cflg || mflg || llflg)) {
lflg++; lflg++;
wflg++; wflg++;
cflg++; cflg++;
llflg++; llflg++;
} }
if (sflg) { if (sflg) {
lflg = 0; lflg = 0;
 End of changes. 4 change blocks. 
8 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)