Comparer deux fichiers quant à l'existence de nouvelles lignes

This commit is contained in:
tpilat 2017-03-15 10:34:36 +01:00
parent bc63dca7e9
commit 157aa24ce2

View file

@ -45,4 +45,10 @@ $ EDITOR=nano vipw
~~~{.bash}
$ diff <fichier> <(cat <fichier> | uniq)
~~~
## Comparer deux fichiers quant à l'existence de nouvelles lignes
~~~
grep -F -x -v -f <fichier1> <fichier2>
~~~