paste.1 (107276) | paste.1 (108221) |
---|---|
1.\" Copyright (c) 1989, 1990, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" Adam S. Moskowitz and the Institute of Electrical and Electronics 6.\" Engineers, Inc. 7.\" 8.\" Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34.\" SUCH DAMAGE. 35.\" 36.\" @(#)paste.1 8.1 (Berkeley) 6/6/93 | 1.\" Copyright (c) 1989, 1990, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" Adam S. Moskowitz and the Institute of Electrical and Electronics 6.\" Engineers, Inc. 7.\" 8.\" Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34.\" SUCH DAMAGE. 35.\" 36.\" @(#)paste.1 8.1 (Berkeley) 6/6/93 |
37.\" $FreeBSD: head/usr.bin/paste/paste.1 107276 2002-11-26 17:33:37Z ru $ | 37.\" $FreeBSD: head/usr.bin/paste/paste.1 108221 2002-12-23 16:04:51Z ru $ |
38.\" 39.Dd September 20, 2001 40.Dt PASTE 1 41.Os 42.Sh NAME 43.Nm paste 44.Nd merge corresponding or subsequent lines of files 45.Sh SYNOPSIS --- 54 unchanged lines hidden (view full) --- 100The newline character of every line except the last line in each input 101file is replaced with the tab character, unless otherwise specified by 102the 103.Fl d 104option. 105.El 106.Pp 107If | 38.\" 39.Dd September 20, 2001 40.Dt PASTE 1 41.Os 42.Sh NAME 43.Nm paste 44.Nd merge corresponding or subsequent lines of files 45.Sh SYNOPSIS --- 54 unchanged lines hidden (view full) --- 100The newline character of every line except the last line in each input 101file is replaced with the tab character, unless otherwise specified by 102the 103.Fl d 104option. 105.El 106.Pp 107If |
108.Ql Fl | 108.Sq Fl |
109is specified for one or more of the input files, the standard 110input is used; standard input is read one line at a time, circularly, 111for each instance of | 109is specified for one or more of the input files, the standard 110input is used; standard input is read one line at a time, circularly, 111for each instance of |
112.Ql Fl . | 112.Sq Fl . |
113.Sh EXAMPLES 114List the files in the current directory in three columns: 115.Pp 116.Dl "ls | paste - - -" 117.Pp 118Combine pairs of lines from a file into single lines: 119.Pp 120.Dl "paste -s -d '\et\en' myfile" --- 34 unchanged lines hidden --- | 113.Sh EXAMPLES 114List the files in the current directory in three columns: 115.Pp 116.Dl "ls | paste - - -" 117.Pp 118Combine pairs of lines from a file into single lines: 119.Pp 120.Dl "paste -s -d '\et\en' myfile" --- 34 unchanged lines hidden --- |