Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
PASTE(1)		     Schily's USER COMMANDS			PASTE(1)

NAME
     paste - pastes fields in files together

SYNOPSIS
     paste [ d=list ] [ options ] [ file1 ... filen ]

     spaste [ d=list ] [ options ] [ file1 ... filen ]

DESCRIPTION
     Paste  joins  separate  files  by fields. It is the opposite of the program
     cut.

     Paste joins corresponding lines of files creating a  single  line	of  text
     with  a  single  character  delimiter separating each field.  The result is
     displayed on standard output.

OPTIONS
     d=list
	    Where list specifies the list of field delimiters used  to	separate
	    the fields on output.  The fields from the list are used in a cyclic
	    way.  The first element in the list is always used for the delimiter
	    after  the	first  file.   If the list includes a backslash (\), the
	    next character is used with a special meaning:

	    \n	   A newline is used as the delimiter.

	    \t	   A TAB is used as the delimiter.

	    \\	   A backslash is used as the delimiter.

	    \0	   No delimiter is inserted.

	    The default delimiter is a single TAB.

     -e     Do not output empty lines.

     -s     Do not paste lines from all files but paste all lines from a  single
	    file.   Start  with the first entry from the delimiter list with the
	    beginning of a new file.

     width=#,w=#
	    Set the maximum output linewidth (default is to allow an  "infinite"
	    output line width).

NOTES
     The maximum number of files that you can join together is 253.

BUGS
     None currently known.

     Mail  bugs  and  suggestions  to  schilytools@mlists.in-berlin.de or open a
     ticket at https://codeberg.org/schilytools/schilytools/issues.

     The mailing list archive may be found at:

     https://mlists.in-berlin.de/mailman/listinfo/schilytools-mlists.in-berlin.de.

AUTHORS
     Joerg Schilling and the schilytools project authors.

SOURCE DOWNLOAD
     The source code for paste is included in the schilytools project and may be
     retrieved from the schilytools project at Codeberg at

     https://codeberg.org/schilytools/schilytools.

     The download directory is

     https://codeberg.org/schilytools/schilytools/releases.

Joerg Schilling 		   2022/08/17				PASTE(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=spaste&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help