correction doublon
This commit is contained in:
parent
4cd306bd92
commit
0cc57c1e05
|
@ -43,6 +43,12 @@ $ EDITOR=nano vipw
|
|||
|
||||
## Savoir si lignes en doublon dans un fichier
|
||||
|
||||
~~~{.bash}
|
||||
$ uniq -d <fichier>
|
||||
~~~
|
||||
|
||||
ou autrement (appliquer un filtre différent) :
|
||||
|
||||
~~~{.bash}
|
||||
$ diff <fichier> <(cat <fichier> | uniq)
|
||||
~~~
|
||||
|
|
Loading…
Reference in a new issue