nkfコマンドというのが有るらしい。
brew install nkf
してから
.bash_profile
に
alias toutf8="nkf -w --overwrite ${1}"
を追加。
source path/to/.bashrc
してから
toutf8 ファイル名
でファイルをUTF8に変換できる。
More than 5 years have passed since last update.
nkfコマンドというのが有るらしい。
brew install nkf
してから
.bash_profile
に
alias toutf8="nkf -w --overwrite ${1}"
を追加。
source path/to/.bashrc
してから
toutf8 ファイル名
でファイルをUTF8に変換できる。
Register as a new user and use Qiita more conveniently