LoginSignup
1
2

More than 5 years have passed since last update.

ディレクトリ内の全ファイルの文字コード表示

Last updated at Posted at 2016-07-29

備忘の為、表題の通りのシェルスクリプト

#!/bin/sh

cd $1

for file in *; do
  echo `nkf -g ${file}` "${file}"
done
1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2