Share on Facebook Share on Twitter Email
Answers.com

Paste

 
Wikipedia: Paste (Unix)

paste is a Unix command line utility which is used to join files horizontally (parallel merging) by outputting lines consisting of the sequentially corresponding lines of each file specified, separated by tabs, to the standard output. It is effectively the horizontal equivalent to the utility cat command which operates on the vertical plane of two or more files.

Example

To paste several columns of data together into the file www from files who, where, and when:

paste who where when > www

If the files contain:

who where when

Sam
Dave
Sue

Detroit
Edgewood
Tampa

January 3
February 4
March 19

This creates the file named www containing:

Sam            Detroit         January 3
Dave           Edgewood        February 4
Sue            Tampa           March 19

See also


Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics
 
 

 

Copyrights:

Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Paste (Unix)" Read more