Module Name:    src
Committed By:   uwe
Date:           Thu Oct 12 01:45:07 UTC 2023

Modified Files:
        src/bin/sh: sh.1

Log Message:
sh(1): touch up markup for the ENV example

Don't use Dq in a literal display, ascii quotes are \*q
While here mark up as literal a few things around this example.


To generate a diff of this commit:
cvs rdiff -u -r1.257 -r1.258 src/bin/sh/sh.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/bin/sh/sh.1
diff -u src/bin/sh/sh.1:1.257 src/bin/sh/sh.1:1.258
--- src/bin/sh/sh.1:1.257	Fri Sep  1 01:57:54 2023
+++ src/bin/sh/sh.1	Thu Oct 12 01:45:07 2023
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sh.1,v 1.257 2023/09/01 01:57:54 kre Exp $
+.\"	$NetBSD: sh.1,v 1.258 2023/10/12 01:45:07 uwe Exp $
 .\" Copyright (c) 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
 .\"
@@ -136,14 +136,14 @@ automatically by the system
 when the user first logs in.
 A login shell first reads commands
 (as if by using the
-.Dq \&.
+.Ql \&.
 command)
 from the files
 .Pa /etc/profile
 and
 .Pa .profile
 in the user's home directory
-.Pq \&$HOME ,
+.Pq Li \&$HOME ,
 if they exist.
 If the environment variable
 .Ev ENV
@@ -164,7 +164,7 @@ Note that no error messages result from 
 expansions, to verify that
 .Ev ENV
 is correct, as desired, use:
-.Dl eval printf '%s\e\en' Dq \&${ENV}
+.Dl eval printf '%s\e\en' \*q${ENV}\*q
 Otherwise if
 .Ev ENV
 appears to contain a command substitution,
@@ -188,7 +188,7 @@ of your home directory
 .Dl ENV=$HOME/.shinit; export ENV
 .Pp
 substituting for
-.Dq .shinit
+.Pa .shinit
 any filename you wish.
 Since the
 .Ev ENV

Reply via email to