Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 1998 01:39:37 +0900
From:      k-horik@yk.rim.or.jp
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   docs/5754: In tar.1, "'" at the begging of line should be escaped.
Message-ID:  <199802151639.BAA00885@mail.yk.rim.or.jp>

next in thread | raw e-mail | index | archive | help

>Number:         5754
>Category:       docs
>Synopsis:       In tar.1, "'" at the begging of line should be escaped.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 15 08:40:07 PST 1998
>Last-Modified:
>Originator:     Kazuo Horikawa
>Organization:
personal user
>Release:        FreeBSD 2.2.5-RELEASE i386
>Environment:

	.\"     $Id: tar.1,v 1.6.2.2 1998/02/04 06:53:59 danny Exp $
	and
	.\"     $Id: tar.1,v 1.12 1998/01/05 11:32:38 danny Exp $

>Description:

	The tar.1 manpage contains following lines in EXAMPLES:
	  Other possible time specifications are '02/09/97 13:15',
	  '1997-02-09 13:15', '13:15 9 Feb 1997', '9 Feb 1997 13:15', 
	  'Feb. 9, 1997 1:15pm', '09-Feb', '3 weeks ago' or 'May first Sunday'.
	  [snip]

	A line begins with "'" character is treated specially by
	troff, so
	  '1997-02-09 13:15', '13:15 9 Feb 1997', '9 Feb 1997 13:15', 
	and
	  'Feb. 9, 1997 1:15pm', '09-Feb', '3 weeks ago' or 'May first Sunday'.
	are not shown in formated tar.1 page.

	So, "'" characters which appear at the beggining of the line
	should be escaped by "\&".

>How-To-Repeat:

	% man 1 tar

>Fix:

--- tar.1.bak	Sun Feb 15 22:53:39 1998
+++ tar.1	Sun Feb 15 22:54:07 1998
@@ -368,8 +368,8 @@
 .Dl tar\ -c\ -f\ backup.tar\ --newer-mtime\ 'Feb\ 9\ 13:15\ 1997'\ srcdir/
 .Pp
 Other possible time specifications are '02/09/97 13:15',
-'1997-02-09 13:15', '13:15 9 Feb 1997', '9 Feb 1997 13:15', 
-'Feb. 9, 1997 1:15pm', '09-Feb', '3 weeks ago' or 'May first Sunday'.
+\&'1997-02-09 13:15', '13:15 9 Feb 1997', '9 Feb 1997 13:15', 
+\&'Feb. 9, 1997 1:15pm', '09-Feb', '3 weeks ago' or 'May first Sunday'.
 To specify the correct time zone use either e.g. `13:15 CEST' or `13:15+200'.
 
 .Sh ENVIRONMENT
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802151639.BAA00885>