<!-- @page { margin: 2cm } P { margin-bottom: 0.21cm } -->

 

Affiche ou rejette des lignes par comparaison de 2 fichiers

Syntax

comm [ -1 -2 -3 ] File1 File2

Description

 

Note: If you specify - (minus) for one of the file names, the comm command reads standard input.

 

The comm command reads the File1 and File2 parameters and writes, by default, a three-column output to standard output.

 

The columns consist of: v Lines that are only in File1 v Lines that are only in File2 v Lines that are in both File1 and File2. Both File1 and File2 should be sorted according to the collating sequence specified by the current National Language environment.

Flags

-1 Suppresses the display of the first column (lines in File1).

-2 Suppresses the display of the second column (lines in File2).

-3 Suppresses the display of the third column (lines common to File1 and File2).

icon phone
Téléphone/Whatsapp : +33 (0)6 83 84 85 74
icon phone