25 lines
650 B
Plaintext
25 lines
650 B
Plaintext
|
Ceci est un fichier texte pour tester la commande diff.
|
||
|
|
||
|
Vous pouvez consulter le manuel de la commande diff en écrivant.
|
||
|
|
||
|
man diff
|
||
|
|
||
|
Je peux écrire le résultat (la page de manuel de diff) en écrivant
|
||
|
|
||
|
man diff >> file2.txt
|
||
|
|
||
|
Comme c'est un peu long, à la place j'ai utilisé
|
||
|
|
||
|
man diff | head >> file2.txt
|
||
|
|
||
|
GNU(1) User Commands GNU(1)
|
||
|
|
||
|
NAME
|
||
|
GNU diff - compare files line by line
|
||
|
|
||
|
SYNOPSIS
|
||
|
diff [OPTION]... FILES
|
||
|
|
||
|
DESCRIPTION
|
||
|
Compare FILES line by line.
|