Source-Changes-HG archive

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

[src/trunk]: src/bin/pax pax.1 & tar.1: add a minor clarification about "-s"



details:   https://anonhg.NetBSD.org/src/rev/11eef4d9446e
branches:  trunk
changeset: 997670:11eef4d9446e
user:      gutteridge <gutteridge%NetBSD.org@localhost>
date:      Tue Mar 19 00:36:14 2019 +0000

description:
pax.1 & tar.1: add a minor clarification about "-s"

As a somewhat pedantic clarification, "-s" does not accept backslashes
as delimiters. (While here, also make the macro use of an expression
shared between pax.1 and tar.1 consistent.)

diffstat:

 bin/pax/pax.1 |  5 +++--
 bin/pax/tar.1 |  9 +++++----
 2 files changed, 8 insertions(+), 6 deletions(-)

diffs (56 lines):

diff -r edf158a75354 -r 11eef4d9446e bin/pax/pax.1
--- a/bin/pax/pax.1     Tue Mar 19 00:12:08 2019 +0000
+++ b/bin/pax/pax.1     Tue Mar 19 00:36:14 2019 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: pax.1,v 1.70 2019/03/19 00:12:08 gutteridge Exp $
+.\"    $NetBSD: pax.1,v 1.71 2019/03/19 00:36:14 gutteridge Exp $
 .\"
 .\" Copyright (c) 1992 Keith Muller.
 .\" Copyright (c) 1992, 1993
@@ -585,7 +585,8 @@
 string may also contain
 .Aq Dv newline
 characters.
-Any non-null character can be used as a delimiter (/ is shown here).
+Any non-null character except a backslash (\\) can be used as a delimiter
+(/ is shown here).
 Multiple
 .Fl s
 expressions can be specified.
diff -r edf158a75354 -r 11eef4d9446e bin/pax/tar.1
--- a/bin/pax/tar.1     Tue Mar 19 00:12:08 2019 +0000
+++ b/bin/pax/tar.1     Tue Mar 19 00:36:14 2019 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: tar.1,v 1.37 2017/07/03 21:33:23 wiz Exp $
+.\" $NetBSD: tar.1,v 1.38 2019/03/19 00:36:14 gutteridge Exp $
 .\"
 .\" Copyright (c) 1996 SigmaSoft, Th. Lockert
 .\" All rights reserved.
@@ -25,7 +25,7 @@
 .\"
 .\"    OpenBSD: tar.1,v 1.28 2000/11/09 23:58:56 aaron Exp
 .\"
-.Dd December 19, 2015
+.Dd March 19, 2019
 .Dt TAR 1
 .Os
 .Sh NAME
@@ -177,7 +177,8 @@
 string may also contain
 .Aq Dv newline
 characters.
-Any non-null character can be used as a delimiter (/ is shown here).
+Any non-null character except a backslash (\\) can be used as a delimiter
+(/ is shown here).
 Multiple
 .Fl s
 expressions can be specified.
@@ -196,7 +197,7 @@
 will cause the final result of a successful substitution to be written to
 .Dv standard error
 in the following format:
-.Dl <original pathname> >> <new pathname>
+.Dl Ao "original pathname" Ac >> Ao "new pathname" Ac
 File or archive member names that substitute to the empty string
 are not selected and will be skipped.
 The substitutions are applied by default to the destination hard and symbolic



Home | Main Index | Thread Index | Old Index