1

[bash] How to uniq files in a file list with paths?

view story
linux-howto

https://bbs.archlinux.org – karol wrote:arith wrote:Hi folks,I know I can get rid of duplicate entries in a list by sorting and uniqing:sort file | uniqOr 'sort -u':I came up with[...] sort -k2 | uniq --skip-fields=1 [...]Or 'sort -u -k2,2' wirr https://bbs.archlinux.org/profile.php?id=30330 2013-06-15T14:36:11Z (HowTos)