Takeaway
- 複数ファイルから特定の文字列を含むファイルと行数を調べたくなることがある
- コマンドで調べるのが楽だった.しかもgrepだけでできる.
grep -rni "string" *- Windows で grep ない人は各種パッケージマネージャで入手可能
scoop install grep- gowを使うのも手だけど2014年から更新されておらず,古いバイナリが色々ダブる可能性はあるので非推奨
- gow 利用は非推奨です!
scoop install gow
grep -rni "string" *scoop install grep scoop install gowgit checkout feature/hogehoge git checkout branch/source copyme.txtgit restore --source branch/source copyme.txtgit add .gitignoregit commit -m "add .gitignore"git rm -r --cached .git add .git commit -m "cleanup repo based on .gitignore"git push origin maintex -version [TeXLiveRootDir]\2021\bin\win32 を追加tlmgr option repository http://mirror.ctan.org/systems/texlive/tlnet [TeXLiveRootDir]\2021\tlpkg\backups を追加tlmgr update --selftlmgr update --listtlmgr install --reinstall [パッケージ名]pandoc test.md -o test.pdf --from markdown --pdf-engine=lualatex --log=test.pdf.logTakeaway 複数ファイルから特定の文字列を含むファイルと行数を調べたくなることがある コマンドで調べるのが楽だった.しかもgrepだけでできる. grep -rni "string" * Windows で ...