Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/lam In the lam(1) example with a literal newline, us...



details:   https://anonhg.NetBSD.org/src/rev/62da8539fd5b
branches:  trunk
changeset: 1018209:62da8539fd5b
user:      dholland <dholland%NetBSD.org@localhost>
date:      Mon Jan 25 20:07:55 2021 +0000

description:
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)

diffstat:

 usr.bin/lam/lam.1 |  10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diffs (33 lines):

diff -r 72e31e92332f -r 62da8539fd5b usr.bin/lam/lam.1
--- a/usr.bin/lam/lam.1 Mon Jan 25 20:05:29 2021 +0000
+++ b/usr.bin/lam/lam.1 Mon Jan 25 20:07:55 2021 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index