ProfGra . org

Search

Search IconIcon to open search

vim

1
2
set fileencoding=utf8
:w

# Remove duplicates

1
2
3
:sort u
:g/^\(.*\)$\n\1/d  # without sorting
                   # but removes blank lines

Last updated Aug 12, 2023 Edit Source