Bercriber's Blog

プログラミング

2021/05/02 19:52


Powershellで正規表現にマッチする内容のファイル名が欲しい時

ls |  ? { Get-Content $_ | ? { $_ -match 'hoge' } }