I use sort
to remove duplicate lines from text files, sort in alphabetical order, overwriting the files ({,}
in the command):
sort -u -o $HOME/Documents/notes/URLs.txt{,}
How to add additional files to the mix, after URLs.txt
? To illustrate with three additional ones:
$HOME/Documents/notes/{URLs.txt,Android.txt,mpv.txt,firefox.txt}