Module Name:    src
Committed By:   dholland
Date:           Mon Jan 25 20:07:55 UTC 2021

Modified Files:
        src/usr.bin/lam: lam.1

Log Message:
In the lam(1) example with a literal newline, use newish sh syntax.

Bump date (as of when I wrote the change and discussed it, in October;
forgot to commit since)


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/usr.bin/lam/lam.1

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

Modified files:

Index: src/usr.bin/lam/lam.1
diff -u src/usr.bin/lam/lam.1:1.14 src/usr.bin/lam/lam.1:1.15
--- src/usr.bin/lam/lam.1:1.14	Mon Oct 26 04:09:32 2020
+++ src/usr.bin/lam/lam.1	Mon Jan 25 20:07:55 2021
@@ -1,4 +1,4 @@
-.\"	$NetBSD: lam.1,v 1.14 2020/10/26 04:09:32 dholland Exp $
+.\"	$NetBSD: lam.1,v 1.15 2021/01/25 20:07:55 dholland Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"	@(#)lam.1	8.1 (Berkeley) 6/6/93
 .\"
-.Dd October 25, 2020
+.Dd October 26, 2020
 .Dt LAM 1
 .Os
 .Sh NAME
@@ -109,12 +109,10 @@ lam file1 file2 file3 file4
 joins 4 files together along each line.
 To merge the lines from four different files use
 .Bd -literal -offset indent
-lam file1 \-S "
-" file2 file3 file4
+lam file1 \-S $'\en' file2 file3 file4
 .Ed
 .Pp
-(with a literal newline; the means for inserting one may depend on
-your shell.)
+(The means for inserting a newline may depend on your shell.)
 .Pp
 Every 2 lines of a file may be joined on one line with
 .Bd -literal -offset indent

Reply via email to