lam.1 (68963) | lam.1 (70197) |
---|---|
1.\" Copyright (c) 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)lam.1 8.1 (Berkeley) 6/6/93 | 1.\" Copyright (c) 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)lam.1 8.1 (Berkeley) 6/6/93 |
33.\" $FreeBSD: head/usr.bin/lam/lam.1 68963 2000-11-20 19:21:22Z ru $ | 33.\" $FreeBSD: head/usr.bin/lam/lam.1 70197 2000-12-19 16:00:12Z ru $ |
34.\" 35.Dd June 6, 1993 36.Dt LAM 1 37.Os 38.Sh NAME 39.Nm lam 40.Nd laminate files 41.Sh SYNOPSIS --- 58 unchanged lines hidden (view full) --- 100.Pp 101To print files simultaneously for easy viewing use 102.Xr pr 1 . 103.Sh EXAMPLES 104The command 105.Bd -literal 106lam file1 file2 file3 file4 107.Ed | 34.\" 35.Dd June 6, 1993 36.Dt LAM 1 37.Os 38.Sh NAME 39.Nm lam 40.Nd laminate files 41.Sh SYNOPSIS --- 58 unchanged lines hidden (view full) --- 100.Pp 101To print files simultaneously for easy viewing use 102.Xr pr 1 . 103.Sh EXAMPLES 104The command 105.Bd -literal 106lam file1 file2 file3 file4 107.Ed |
108 | 108.Pp |
109joins 4 files together along each line. 110To merge the lines from four different files use 111.Bd -literal 112lam file1 \-S "\\ 113" file2 file3 file4 114.Ed | 109joins 4 files together along each line. 110To merge the lines from four different files use 111.Bd -literal 112lam file1 \-S "\\ 113" file2 file3 file4 114.Ed |
115 | 115.Pp |
116Every 2 lines of a file may be joined on one line with 117.Bd -literal 118lam \- \- < file 119.Ed | 116Every 2 lines of a file may be joined on one line with 117.Bd -literal 118lam \- \- < file 119.Ed |
120 | 120.Pp |
121and a form letter with substitutions keyed by `@' can be done with 122.Bd -literal 123lam \-t @ letter changes 124.Ed 125.Sh SEE ALSO 126.Xr join 1 , 127.Xr pr 1 , 128.Xr printf 3 | 121and a form letter with substitutions keyed by `@' can be done with 122.Bd -literal 123lam \-t @ letter changes 124.Ed 125.Sh SEE ALSO 126.Xr join 1 , 127.Xr pr 1 , 128.Xr printf 3 |