Source-Changes-HG archive

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

[src/trunk]: src/lib/libedit Use Aq instead of <>, quote a minus, drop traili...



details:   https://anonhg.NetBSD.org/src/rev/8adc1b9ba9c5
branches:  trunk
changeset: 555987:8adc1b9ba9c5
user:      wiz <wiz%NetBSD.org@localhost>
date:      Fri Dec 05 13:46:39 2003 +0000

description:
Use Aq instead of <>, quote a minus, drop trailing space.

diffstat:

 lib/libedit/editline.3 |  15 ++++++++++-----
 1 files changed, 10 insertions(+), 5 deletions(-)

diffs (43 lines):

diff -r b606b887a419 -r 8adc1b9ba9c5 lib/libedit/editline.3
--- a/lib/libedit/editline.3    Fri Dec 05 13:37:48 2003 +0000
+++ b/lib/libedit/editline.3    Fri Dec 05 13:46:39 2003 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: editline.3,v 1.43 2003/12/05 13:37:48 lukem Exp $
+.\"    $NetBSD: editline.3,v 1.44 2003/12/05 13:46:39 wiz Exp $
 .\"
 .\" Copyright (c) 1997-2003 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -659,7 +659,11 @@
 to be used by all other tokenizer functions.
 .Fa IFS
 contains the Input Field Separators, which defaults to
-<space>, <tab>, and <newline> if
+.Aq space ,
+.Aq tab ,
+and
+.Aq newline
+if
 .Dv NULL .
 .It Fn tok_end
 Clean up and finish with
@@ -696,16 +700,17 @@
 .Pp
 Returns
 0 if successful,
--1 for an internal error,
+\-1 for an internal error,
 1 for an unmatched single quote,
 2 for an unmatched double quote,
 and
-3 for a backslash quoted <newline>.
+3 for a backslash quoted
+.Aq newline .
 A positive exit code indicates that another line should be read
 and tokenization attempted again.
 .
 .It Fn tok_str
-A simpler form of 
+A simpler form of
 .Fn tok_line ;
 .Fa str
 is a NUL terminated string to tokenize.



Home | Main Index | Thread Index | Old Index