Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
バッチファイルでCRをCR+LFに変換したい。どうすればバッチファイルを書くことでこれを行うことができますか。助けてください。
ファイルから入力を取得していて、そのファイルでCRをCR+LFに変更したい
古き良きUNIXコマンドawkを使用できます。
awk 'sub("$", "\r")' unix.txt > win.txt