Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/cat Some style improvements. [Nearly] #13592 by Petri Ko...
details: https://anonhg.NetBSD.org/src/rev/7cc7cc6bd4bf
branches: trunk
changeset: 513375:7cc7cc6bd4bf
user: wiz <wiz%NetBSD.org@localhost>
date: Sun Jul 29 22:40:57 2001 +0000
description:
Some style improvements. [Nearly] #13592 by Petri Koistinen.
diffstat:
bin/cat/cat.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (49 lines):
diff -r 62143f354acf -r 7cc7cc6bd4bf bin/cat/cat.c
--- a/bin/cat/cat.c Sun Jul 29 22:36:11 2001 +0000
+++ b/bin/cat/cat.c Sun Jul 29 22:40:57 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cat.c,v 1.26 2001/01/03 14:32:40 mjl Exp $ */
+/* $NetBSD: cat.c,v 1.27 2001/07/29 22:40:57 wiz Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -47,18 +47,18 @@
#if 0
static char sccsid[] = "@(#)cat.c 8.2 (Berkeley) 4/27/95";
#else
-__RCSID("$NetBSD: cat.c,v 1.26 2001/01/03 14:32:40 mjl Exp $");
+__RCSID("$NetBSD: cat.c,v 1.27 2001/07/29 22:40:57 wiz Exp $");
#endif
#endif /* not lint */
#include <sys/param.h>
#include <sys/stat.h>
-#include <locale.h>
#include <ctype.h>
#include <err.h>
#include <errno.h>
#include <fcntl.h>
+#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -89,15 +89,15 @@
case 'e':
eflag = vflag = 1; /* -e implies -v */
break;
+ case 'f':
+ fflag = 1;
+ break;
case 'n':
nflag = 1;
break;
case 's':
sflag = 1;
break;
- case 'f':
- fflag = 1;
- break;
case 't':
tflag = vflag = 1; /* -t implies -v */
break;
Home |
Main Index |
Thread Index |
Old Index