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에서 해주시기 바랍니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 5827 | 10년 전 | 382 | ||
| 5826 | 10년 전 | 377 | ||
| 5825 | 10년 전 | 335 | ||
| 5824 | 10년 전 | 496 | ||
| 5823 | 10년 전 | 514 | ||
| 5822 | 10년 전 | 317 | ||
| 5821 | 10년 전 | 622 | ||
| 5820 | 10년 전 | 924 | ||
| 5819 | 10년 전 | 453 | ||
| 5818 | 10년 전 | 591 | ||
| 5817 |
|
10년 전 | 1404 | |
| 5816 | 10년 전 | 420 | ||
| 5815 | 10년 전 | 397 | ||
| 5814 | 10년 전 | 371 | ||
| 5813 |
|
10년 전 | 1174 | |
| 5812 | 10년 전 | 473 | ||
| 5811 | 10년 전 | 255 | ||
| 5810 | 10년 전 | 283 | ||
| 5809 | 10년 전 | 488 | ||
| 5808 | 10년 전 | 336 | ||
| 5807 | 10년 전 | 307 | ||
| 5806 | 10년 전 | 277 | ||
| 5805 | 10년 전 | 303 | ||
| 5804 | 10년 전 | 296 | ||
| 5803 | 10년 전 | 290 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기