Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/patch Add comma after i.e.
details: https://anonhg.NetBSD.org/src/rev/69e7af998f00
branches: trunk
changeset: 784475:69e7af998f00
user: wiz <wiz%NetBSD.org@localhost>
date: Tue Jan 29 09:30:11 2013 +0000
description:
Add comma after i.e.
>From Bug Hunting.
diffstat:
usr.bin/patch/patch.1 | 6 +++---
usr.bin/patch/pch.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (59 lines):
diff -r b986af3517d5 -r 69e7af998f00 usr.bin/patch/patch.1
--- a/usr.bin/patch/patch.1 Tue Jan 29 02:54:30 2013 +0000
+++ b/usr.bin/patch/patch.1 Tue Jan 29 09:30:11 2013 +0000
@@ -1,6 +1,6 @@
.\" $OpenBSD: patch.1,v 1.22 2008/06/06 20:44:00 jmc Exp $
.\" $DragonFly: src/usr.bin/patch/patch.1,v 1.10 2008/08/18 19:15:55 joerg Exp $
-.\" $NetBSD: patch.1,v 1.15 2012/04/08 22:00:39 wiz Exp $
+.\" $NetBSD: patch.1,v 1.16 2013/01/29 09:30:11 wiz Exp $
.\" Copyright 1986, Larry Wall
.\"
.\" Redistribution and use in source and binary forms, with or without
@@ -158,7 +158,7 @@
for that.
.It Fl i Ar patchfile , Fl Fl input Ar patchfile
Causes the next argument to be interpreted as the input file name
-(i.e. a patchfile).
+(i.e., a patchfile).
This option may be specified multiple times.
.It Fl l , Fl Fl ignore-whitespace
Causes the pattern matching to be done loosely, in case the tabs and
@@ -240,7 +240,7 @@
option set.
If it can't, the patch will continue to be applied normally.
(Note: this method cannot detect a reversed patch if it is a normal diff
-and if the first command is an append (i.e. it should have been a delete)
+and if the first command is an append (i.e., it should have been a delete)
since appends always succeed, due to the fact that a null context will match
anywhere.
Luckily, most patches add or change lines rather than delete them, so most
diff -r b986af3517d5 -r 69e7af998f00 usr.bin/patch/pch.c
--- a/usr.bin/patch/pch.c Tue Jan 29 02:54:30 2013 +0000
+++ b/usr.bin/patch/pch.c Tue Jan 29 09:30:11 2013 +0000
@@ -1,7 +1,7 @@
/*
* $OpenBSD: pch.c,v 1.37 2007/09/02 15:19:33 deraadt Exp $
* $DragonFly: src/usr.bin/patch/pch.c,v 1.6 2008/08/10 23:35:40 joerg Exp $
- * $NetBSD: pch.c,v 1.24 2011/09/06 18:25:14 joerg Exp $
+ * $NetBSD: pch.c,v 1.25 2013/01/29 09:30:11 wiz Exp $
*/
/*
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: pch.c,v 1.24 2011/09/06 18:25:14 joerg Exp $");
+__RCSID("$NetBSD: pch.c,v 1.25 2013/01/29 09:30:11 wiz Exp $");
#include <sys/types.h>
#include <sys/stat.h>
@@ -456,7 +456,7 @@
}
/*
- * True if the line has been discarded (i.e. it is a line saying
+ * True if the line has been discarded (i.e., it is a line saying
* "\ No newline at end of file".)
*/
static bool
Home |
Main Index |
Thread Index |
Old Index