Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlug] Today's discovery: ugrep



grep was giving me no hits on a kanji string I knew was in my directory tree at least once. Then it dawned: my terminal is in UTF8, but the files I'm searching are in UTF-16.

I discovered ugrep (`apt install ugrep`), which appears to be a drop-in replacement that takes care of that for me.

I was about to mess around with converting character encodings. Or maybe open them as a vscode directory and use its file search... I just did try that and it is equally correct/quick. Doh. I should've thought of that first!

Darren



Home | Main Index | Thread Index