Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/fmt Switch centre to -C from -c. Now different from ...
details: https://anonhg.NetBSD.org/src/rev/9ace26a6438c
branches: trunk
changeset: 497072:9ace26a6438c
user: abs <abs%NetBSD.org@localhost>
date: Mon Sep 18 13:42:53 2000 +0000
description:
Switch centre to -C from -c. Now different from FreeBSD, but avoids conflict
with Solaris, Linux and others.
diffstat:
usr.bin/fmt/fmt.1 | 6 +++---
usr.bin/fmt/fmt.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r 449ef3192740 -r 9ace26a6438c usr.bin/fmt/fmt.1
--- a/usr.bin/fmt/fmt.1 Mon Sep 18 13:04:53 2000 +0000
+++ b/usr.bin/fmt/fmt.1 Mon Sep 18 13:42:53 2000 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: fmt.1,v 1.5 2000/09/15 11:23:17 abs Exp $
+.\" $NetBSD: fmt.1,v 1.6 2000/09/18 13:42:53 abs Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -41,7 +41,7 @@
.Nd simple text formatter
.Sh SYNOPSIS
.Nm
-.Op Fl c
+.Op Fl C
.Oo
.Ar goal
.Op Ar maximum
@@ -61,7 +61,7 @@
input lines is preserved in the output, as are blank lines and
interword spacing.
.Pp
-.Fl c
+.Fl C
instructs
.Nm fmt
to center the text.
diff -r 449ef3192740 -r 9ace26a6438c usr.bin/fmt/fmt.c
--- a/usr.bin/fmt/fmt.c Mon Sep 18 13:04:53 2000 +0000
+++ b/usr.bin/fmt/fmt.c Mon Sep 18 13:42:53 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fmt.c,v 1.12 2000/09/15 11:23:17 abs Exp $ */
+/* $NetBSD: fmt.c,v 1.13 2000/09/18 13:42:53 abs Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -43,7 +43,7 @@
#if 0
static char sccsid[] = "@(#)fmt.c 8.1 (Berkeley) 7/20/93";
#endif
-__RCSID("$NetBSD: fmt.c,v 1.12 2000/09/15 11:23:17 abs Exp $");
+__RCSID("$NetBSD: fmt.c,v 1.13 2000/09/18 13:42:53 abs Exp $");
#endif /* not lint */
#include <stdio.h>
@@ -117,7 +117,7 @@
/*
* LIZ@UOM 6/18/85 -- Check for goal and max length arguments
*/
- if (argc > 1 && !strcmp(argv[1], "-c")) {
+ if (argc > 1 && !strcmp(argv[1], "-C")) {
center++;
argc--;
argv++;
Home |
Main Index |
Thread Index |
Old Index