correction doublon
This commit is contained in:
parent
4cd306bd92
commit
0cc57c1e05
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue