Linux
grep -v 로 원하지 않는 문자열 제외하기
구차니
2009. 9. 2. 17:59
$ man grep
-v, --invert-match
Invert the sense of matching, to select non-matching lines.
-v 옵션은 invert match로 문장을 포함하지 않는 줄을 출력해준다.
사용예 : 주석이 아닌 줄만 찾기
-v, --invert-match
Invert the sense of matching, to select non-matching lines.
-v 옵션은 invert match로 문장을 포함하지 않는 줄을 출력해준다.
사용예 : 주석이 아닌 줄만 찾기