Source-Changes-HG archive

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

[src/netbsd-1-4]: src/usr.sbin/mtree Pull up revision 1.12 (requested by wenn...



details:   https://anonhg.NetBSD.org/src/rev/e953f1497103
branches:  netbsd-1-4
changeset: 469712:e953f1497103
user:      he <he%NetBSD.org@localhost>
date:      Sat Nov 20 16:59:11 1999 +0000

description:
Pull up revision 1.12 (requested by wennmach and joda):
  Make mtree able to properly encode file names with `funny' albeit
  legal characters (`#', ` ', binary characters), fixing PR#5006 and
  PR#7663.

diffstat:

 usr.sbin/mtree/mtree.8 |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 77ebf4278a20 -r e953f1497103 usr.sbin/mtree/mtree.8
--- a/usr.sbin/mtree/mtree.8    Sat Nov 20 16:58:45 1999 +0000
+++ b/usr.sbin/mtree/mtree.8    Sat Nov 20 16:59:11 1999 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: mtree.8,v 1.11 1999/03/07 12:03:35 mycroft Exp $
+.\"    $NetBSD: mtree.8,v 1.11.2.1 1999/11/20 16:59:11 he Exp $
 .\"
 .\" Copyright (c) 1989, 1990, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -234,6 +234,12 @@
 characters (``['', ``]'', ``?'' or ``*''), in which case files
 in the hierarchy will be associated with the first pattern that
 they match.
+.Nm
+uses strvis(3) (in VIS_CSTYLE format) to encode file names containing
+non-printable characters. Whitespace characters are encoded as
+``\es'' (space), ``\et'' (tab), and ``\en'' (new line).
+``#'' characters in file names are escaped by a preceding backslash (``\e'')
+to distinguish them from comments.
 .Pp
 Each of the keyword/value pairs consist of a keyword, followed by an
 equals sign (``=''), followed by the keyword's value, without
@@ -295,6 +301,7 @@
 .Xr cksum 1 ,
 .Xr md5 1 ,
 .Xr stat 2 ,
+.Xr strvis 3 ,
 .Xr fts 3 ,
 .Xr chown 8
 .Sh HISTORY



Home | Main Index | Thread Index | Old Index