vimdiff, rev command

A, vimdiff: visual comparison tool

Syntax:
       vimdiff [options] file1 file2 [file3 [file4] ]

       gvimdiff

Description
       Vimdiff start Vim on two (or three or four) file. Each file has its
       own window. The difference between the files are highlighted. This
       is a check for changes and change from a good way out of a version of
       another version of the same file.

OPTIONS
       vertical dividing line used to align, as "-O" as parameters
       are used. To change to use split horizon, use the "-o" argument.

Example:

 

 Two, rev: reverse output file contents

Syntax:
        Rev [options] [file ...]

Description
        rev utility copies the specified file to standard output, is not it?
        The order of characters in each line. If the file is not specified,
        read standard input.

The OPTIONS
        -V, - Version
               output version information and exit.

        -h, - help
               Output this help and exit.

You can also look at
       TAC (1)

Example:

 

 

 

Guess you like

Origin www.cnblogs.com/jiazilongBlog/p/11612516.html