Source-Changes-HG archive

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

[src/trunk]: src/bin/sh Make one example more like a real world possibility (...



details:   https://anonhg.NetBSD.org/src/rev/7042b7b69763
branches:  trunk
changeset: 825043:7042b7b69763
user:      kre <kre%NetBSD.org@localhost>
date:      Tue Jun 27 12:43:44 2017 +0000

description:
Make one example more like a real world possibility (it still isn't, but
is closer) - though the actual content is irrelevant to the point being made.

diffstat:

 bin/sh/sh.1 |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 0379c9394b01 -r 7042b7b69763 bin/sh/sh.1
--- a/bin/sh/sh.1       Tue Jun 27 12:21:54 2017 +0000
+++ b/bin/sh/sh.1       Tue Jun 27 12:43:44 2017 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: sh.1,v 1.154 2017/06/27 08:30:40 wiz Exp $
+.\"    $NetBSD: sh.1,v 1.155 2017/06/27 12:43:44 kre Exp $
 .\" Copyright (c) 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
 .\"
@@ -1022,7 +1022,7 @@
 Grouping commands together this way allows you to redirect
 their output as though they were one program:
 .Bd -literal -offset indent
-{ echo -n \*q hello \*q ; echo \*q world" ; } > greeting
+{ echo -n \*qhello \*q ; echo \*qworld\*q ; } > greeting
 .Ed
 .Pp
 Note that



Home | Main Index | Thread Index | Old Index