New answers tagged newlines
On Windows a linebreak consists of two characters: carriage return and line feed, so you have to search for \r\n</li> and replace with just </li>.
If you are in a bat file, you can del find_s_dos.txt for /f "delims=" %%i in (find_s.txt) do @echo %%i>>find_s_dos.txt
TTT is right that your file should be in unix format. If you don't mind the order, you can pipe the output to sort first. Otherwise need another utility. FINDSTR /I /N "<sdk:extra>" addon.xml | sort > find_s.txt
Top 50 recent answers are included