PASTE(1)
β¨ PASTE(1) β¨
okay so bestie, welcome to paste β it's a Perl script living in the User Contributed Perl Documentation section of the manual, and it's literally the moment your files stop being lonely and start holding hands π«Ά
π NAME π
paste β merge corresponding or subsequent lines of files. that's it, that's the whole vibe. file lines, but make them a group chat π
πΈ SYNOPSIS πΈ
paste [-s] [-d list] file ...
π¦ DESCRIPTION π¦
okay so picture this: you've got multiple files, and paste combines the corresponding lines of all of them. each line of each file gets printed, separated by a tab character β OR by whatever characters you listed in the -d option, if you're feeling extra β¨
the argument '-' will result in standard input being read. and ngl, if '-' is repeated, standard input will be read one line at a time for each instance of '-' β yes bestie, each one gets its own line, iconic behaviour fr fr π
β OPTIONS β
paste accepts the following options:
-d listβ define the column delimiters. each character in this list gets used one at a time, as a delimiter for the columns. if there are fewer characters than columns, the characters get repeated π (so no, it doesn't run out and ghost you). standard Perl special characters ("\n","\t", etc.) are recognized π-sβ displays the output one file per row, rather than interleaving the lines of the files. so instead of mashing everyone together, each file gets its own little row era π
πΏ ENVIRONMENT πΏ
the working of paste is not influenced by any environment variables. zero. none. it's unbothered, it's thriving, it's main character energy π₯
π BUGS π
paste has no known bugs, unless you count the use of eval EXPR. lowkey that's the whole thing π (iykyk)
π AUTHOR π
the Perl implementation of paste was written by Randy Yarger, randy.yarger@nextel.com. thank you Randy, we appreciate you π«‘
π COPYRIGHT and LICENSE π
this program is copyright by Randy Yarger 1999.
this program is free and open software. you may use, modify, distribute and sell this program (and any modified variants) in any way you wish, provided you do not restrict others to do the same. reciprocity slay, no gatekeeping allowed periodt π
ngl bestie, the vibes are immaculate and the rules are simple: share the love, don't lock it down π
okay and one lil sign-off, not me almost forgetting: this page is from perl v5.42.2, dated 2026-02-15, and it's the PASTE(1) page. bye bestie, go paste something gorgeous π¦β¨
π¦ where this page comes from
- alpine 3.24: perl-power-tools-doc 1.053-r1 Β· GPL-2.0-or-later AND Artistic-1.0-Perl AND Artistic-2.0 AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms