Created
March 5, 2019 03:07
-
-
Save YoshitsuguFujii/4d181dfc81dfcbd900c95b9a3a28772f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env ruby | |
exec("LANG=ja_JP.sjis grep -rn `echo #{ARGV[0]} | nkf -s` #{ARGV[1]} | nkf -w") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment