xxx@izabella:~$ cat test.txt
test 'txt' file
test 'txt' file
ee
test 'txt' file
ee
gg
tt
yy
uu
tt
yy
uu
ee
qq
gg
xxx@izabella:~$ awk '! seen[$0]++' test.txt
test 'txt' file
ee
gg
tt
yy
uu
qq
vilfred@izabella:~$


Ответ на:
комментарий
от anonymous


Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.
Похожие темы
- Форум AWK и dd (2022)
- Форум awk print $1 $2 (2006)
- Форум awk вывод определенного совпадения (2019)
- Форум bash - > awk (2006)
- Форум awk, printf и пробел (2006)
- Форум Переменная с пробелами в awk (2009)
- Форум Переменные в шаблонах awk (2002)
- Форум configure проблема c --build, --host и --target (2009)
- Форум [awk][c][калькуляторы] 0^0 (2010)
- Форум awk (2005)