summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2006-01-06 09:53:00 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2006-01-06 09:53:00 +0000
commitbf3b1f2d138ab4285d79b476cbb41edc4ef7c3b8 (patch)
treece6dfd7369c87e8aa34c5f28a1c3f9fc83194c7d
parent4fcbe702681d161468ca7300218e2636be8382a5 (diff)
nicer EXAMPLES; from ray lai
-rw-r--r--usr.bin/lam/lam.118
1 files changed, 10 insertions, 8 deletions
diff --git a/usr.bin/lam/lam.1 b/usr.bin/lam/lam.1
index e9860216586..8209164274f 100644
--- a/usr.bin/lam/lam.1
+++ b/usr.bin/lam/lam.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: lam.1,v 1.5 2003/06/03 02:56:09 millert Exp $
+.\" $OpenBSD: lam.1,v 1.6 2006/01/06 09:52:59 jmc Exp $
.\" $NetBSD: lam.1,v 1.4 2002/02/08 01:36:25 ross Exp $
.\"
.\" Copyright (c) 1993
@@ -99,22 +99,24 @@ The newline normally appended to each output line is omitted.
To print files simultaneously for easy viewing use
.Xr pr 1 .
.Sh EXAMPLES
-The command
+Join four files together along each line:
+.Pp
.Dl $ lam file1 file2 file3 file4
.Pp
-joins 4 files together along each line.
-To merge the lines from four different files use
+Merge the lines from four different files:
.Bd -literal -offset indent
-$ lam file1 \-S "\\
+$ lam file1 \-S "\e
" file2 file3 file4
.Ed
.Pp
-Every 2 lines of a file may be joined on one line with
+Join every two lines of a file:
+.Pp
.Dl $ lam \- \- \*(Lt file
.Pp
-and a form letter with substitutions keyed by
+A form letter with substitutions keyed by
.Sq \&@
-can be done with
+can be done with:
+.Pp
.Dl $ lam \-t @ letter changes
.Sh SEE ALSO
.Xr join 1 ,