From bf3b1f2d138ab4285d79b476cbb41edc4ef7c3b8 Mon Sep 17 00:00:00 2001 From: Jason McIntyre Date: Fri, 6 Jan 2006 09:53:00 +0000 Subject: nicer EXAMPLES; from ray lai --- usr.bin/lam/lam.1 | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'usr.bin/lam') 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 , -- cgit v1.2.3