Skip to main content

改行文字の置換

改行文字の置換(CRLF → LF)
sed -i 's/¥r//g' target_file
改行文字の置換(LF → CRLF)
sed -i 's/$/¥r/g' target_file