13
10

More than 5 years have passed since last update.

utf8 の端末で sjis の文字を grep する

Last updated at Posted at 2012-12-26
grep `echo えすじす | nkf -s` *.txt | nkf -w

nkf で sjis の文字を作って、結果を utf8 に戻している

git grep

git grep `echo 'えすじす' | nkf -Ws` | nkf -w  | grep えすじす
13
10
1

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
13
10