Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/gen Simplify/fix macro usage. Bump date for previous.



details:   https://anonhg.NetBSD.org/src/rev/ea85c757bb21
branches:  trunk
changeset: 332513:ea85c757bb21
user:      wiz <wiz%NetBSD.org@localhost>
date:      Fri Sep 26 02:18:57 2014 +0000

description:
Simplify/fix macro usage. Bump date for previous.

diffstat:

 lib/libc/gen/vis.3 |  41 ++++++++++++++++-------------------------
 1 files changed, 16 insertions(+), 25 deletions(-)

diffs (86 lines):

diff -r 415e112813a4 -r ea85c757bb21 lib/libc/gen/vis.3
--- a/lib/libc/gen/vis.3        Fri Sep 26 01:21:07 2014 +0000
+++ b/lib/libc/gen/vis.3        Fri Sep 26 02:18:57 2014 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: vis.3,v 1.40 2014/09/26 01:21:07 christos Exp $
+.\"    $NetBSD: vis.3,v 1.41 2014/09/26 02:18:57 wiz Exp $
 .\"
 .\" Copyright (c) 1989, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)vis.3      8.1 (Berkeley) 6/9/93
 .\"
-.Dd February 19, 2013
+.Dd September 26, 2014
 .Dt VIS 3
 .Os
 .Sh NAME
@@ -237,9 +237,9 @@
 .Bl -tag -width VIS_WHITEX
 .It Dv VIS_GLOB
 Also encode the magic characters
-.Ql ( * ,
+.Pf ( Ql * ,
 .Ql \&? ,
-.Ql \&[
+.Ql \&[ ,
 and
 .Ql # )
 recognized by
@@ -247,24 +247,23 @@
 .It Dv VIS_SHELL
 Also encode the meta characters used by shells (in addition to the glob
 characters):
-.Ql ( ' ,
+.Pf ( Ql ' ,
 .Ql ` ,
-.Ql \*[q] ,
+.Ql \&" ,
 .Ql \&; ,
-.Ql \*[Am] ,
-.Ql \*[Lt] ,
-.Ql \*[Gt] ,
+.Ql & ,
+.Ql < ,
+.Ql > ,
 .Ql \&( ,
 .Ql \&) ,
 .Ql \&| ,
 .Ql \&] ,
-.Ql \&\\ ,
-.\" XXX: How do you print a $
-.Ql \e(Do ,
+.Ql \e ,
+.Ql $ ,
 .Ql \&! ,
-.Ql \&^ 
-and 
-.Ql ~ ).
+.Ql \&^ ,
+and
+.Ql ~ ) .
 .It Dv VIS_SP
 Also encode space.
 .It Dv VIS_TAB
@@ -273,18 +272,10 @@
 Also encode newline.
 .It Dv VIS_WHITE
 Synonym for
-.Dv VIS_SP
-\&|
-.Dv VIS_TAB
-\&|
-.Dv VIS_NL .
+.Dv VIS_SP | VIS_TAB | VIS_NL .
 .It Dv VIS_META
 Synonym for
-.Dv VIS_WHITE
-\&|
-.Dv VIS_GLOB
-\&|
-.Dv VIS_SHELL .
+.Dv VIS_WHITE | VIS_GLOB | VIS_SHELL .
 .It Dv VIS_SAFE
 Only encode
 .Dq unsafe



Home | Main Index | Thread Index | Old Index