#AIX #unix #dos #sed #vi #vim #search #windows #notepadplusplus #notepadqq DOS to Unix: sed 's/^M$//' input.txt > output.txt Unix to DOS: sed 's/