Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
label for="id_query現在のディレクトリ内のファイルの正確な文字列を一致させたい。ただし、grep -w "label for=\"id_query" .一致しません。その二重引用符をうまく回避する方法はありますか?
label for="id_query
grep -w "label for=\"id_query" .
代わりに一重引用符を使用してください。
grep -w 'label for="id_query'