viで対象ファイルを開いて以下のコマンドを入力
vim
:set fileformat=unix
windowsで作成したファイルをlinuxへ移動した時に改行コードが原因で動かない時があって
わざわざサクラエディタの正規表現で置換して再移動してたけど、これならその場で直せて便利。
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
List of users who liked
45