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.
2 つ以上の ";" を含むファイル内の行を特定する方法 Linux cmdの1行にシンボル?
ありがとう、パ
使用grep:
grep
grep '.*;.*;' filename
これにより、少なくとも2を含む行が印刷されます;。
;
実際には、これで十分です。
grep ';.*;' filename