grep -e search_word /home/ -R
[이 게시물은 관리자님에 의해 2011-10-31 17:32:05 Linux에서 이동 됨]
댓글 1개
haejuksun
14년 전
-e 옵션 빼도 동일한 결과네요.
옵션 설명을 보면, 정규표현식 옵션 같은데...
-e PATTERN, --regexp=PATTERN
Use PATTERN as the pattern; useful to protect patterns beginning with -.
[root@oracle test]# grep -e search_word ./test -R
./test/test.txt:search_word
[root@oracle test]# grep search_word ./test -R
./test/test.txt:search_word
[root@oracle test]# grep -e [a-z] ./test -R
./test/test.txt:search_word
./test/test.txt:search-word
옵션 설명을 보면, 정규표현식 옵션 같은데...
-e PATTERN, --regexp=PATTERN
Use PATTERN as the pattern; useful to protect patterns beginning with -.
[root@oracle test]# grep -e search_word ./test -R
./test/test.txt:search_word
[root@oracle test]# grep search_word ./test -R
./test/test.txt:search_word
[root@oracle test]# grep -e [a-z] ./test -R
./test/test.txt:search_word
./test/test.txt:search-word
게시판 목록
팁게시판
디자인과 관련된 유용한 정보를 공유하세요.
질문은 상단의 QA에서 해주시기 바랍니다.
질문은 상단의 QA에서 해주시기 바랍니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 5927 | 9년 전 | 246 | ||
| 5926 | 9년 전 | 431 | ||
| 5925 | 9년 전 | 315 | ||
| 5924 | 9년 전 | 308 | ||
| 5923 | 9년 전 | 314 | ||
| 5922 |
|
9년 전 | 765 | |
| 5921 | 9년 전 | 350 | ||
| 5920 | 9년 전 | 315 | ||
| 5919 | 9년 전 | 295 | ||
| 5918 | 9년 전 | 760 | ||
| 5917 | 9년 전 | 466 | ||
| 5916 | 9년 전 | 325 | ||
| 5915 | 9년 전 | 290 | ||
| 5914 | 9년 전 | 323 | ||
| 5913 | 9년 전 | 357 | ||
| 5912 | 9년 전 | 302 | ||
| 5911 | 9년 전 | 349 | ||
| 5910 | 9년 전 | 281 | ||
| 5909 | 9년 전 | 387 | ||
| 5908 | 9년 전 | 313 | ||
| 5907 | 9년 전 | 293 | ||
| 5906 | 9년 전 | 243 | ||
| 5905 | 9년 전 | 329 | ||
| 5904 | 9년 전 | 280 | ||
| 5903 | 9년 전 | 303 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기