Linux Command Encyclopedia document editing: Join

Source: Internet
Author: User
Keywords Linux join Command encyclopedia document editing
Tags aliyun command encyclopedia connect content displays document document editing file

Function Description: To connect two files with the same row as the specified field content.

Grammar: join&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP;" [-i] [-a<1 or 2>] [-e< string [-o< format [-t< character] [-v<1 or 2>] [-1< Field] [-2< Field] [--help] [--version] [File 1] [File 2]

Supplementary Note: Find two files, specify the same field content of the row, and merge, and then output to the standard output device.

Parameters:
In addition to displaying the original output,-a<1 or 2> displays lines that do not have the same field in the instruction file.
-e< string > If the specified field is not found in file 1 and file 2, the string in the selection is filled in.
Ignore case differences when I or--igore-case compare field content.
-o< format > Displays the results in the format you specify.
-t< characters > Using field-delimited characters.
-v<1 or 2> are the same as-a, but only rows that do not have the same field in the file are displayed.
-1< fields > connections specified in File 1.
-2< fields > connections specified in File 2.
--help display Help.
--version Displays version information.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.