エンコードを Shift_JIS 指定してGrep検索

rg --encoding shift-jis --text '^あいう$'
https://formulae.brew.sh/formula/ripgrep

コメント

このブログの人気の投稿

よく使う grep オプション