grep: update translations (#12962)

This commit is contained in:
spageektti
2024-06-13 19:08:33 +02:00
committed by GitHub
parent d387240363
commit 122cdf8cd2
11 changed files with 60 additions and 60 deletions

View File

@@ -9,15 +9,15 @@
- 정규표현식을 사용하지 않고 정확히 일치하는 문자열 검색:
`grep --fixed-strings "{{문자열}}" {{파일/의/경로}}`
`grep {{-F|--fixed-strings}} "{{문자열}}" {{파일/의/경로}}`
- 재귀적으로 디렉토리 안의 바이너리 파일을 제외한 모든 파일 안에서 패턴을 검색하고, 일치하는 줄의 번호를 보여줌:
`grep --recursive --line-number --binary-files={{without-match}} "{{검색_패턴}}" {{디렉토리/의/경로}}`
`grep {{-r|--recursive}} {{-n|--line-number}} --binary-files={{without-match}} "{{검색_패턴}}" {{디렉토리/의/경로}}`
- 대소문자를 구분하지 않는 모드에서 확장된 정규표현식 사용 (`?`, `+`, `{}`, `()` 그리고 `|` 를 지원):
`grep --extended-regexp --ignore-case "{{검색_패턴}}" {{파일/의/경로}}`
`grep {{-E|--extended-regexp}} {{-i|--ignore-case}} "{{검색_패턴}}" {{파일/의/경로}}`
- 일치하는 문자열 주변, 이전 혹은 이후의 3줄을 출력:
@@ -25,12 +25,12 @@
- 각각의 일치하는 문자열의 파일 이름과 줄 번호 출력:
`grep --with-filename --line-number --color=always "{{검색_패턴}}" {{파일/의/경로}}`
`grep {{-H|--with-filename}} {{-n|--line-number}} --color=always "{{검색_패턴}}" {{파일/의/경로}}`
- 패턴과 일치하는 줄을 검색하고, 일치하는 문자만 출력:
`grep --only-matching "{{검색_패턴}}" {{파일/의/경로}}`
`grep {{-o|--only-matching}} "{{검색_패턴}}" {{파일/의/경로}}`
- 패턴과 일치하지 않는 라인에 대한 `stdin` 검색:
`cat {{파일/의/경로}} | grep --invert-match "{{검색_패턴}}"`
`cat {{파일/의/경로}} | grep {{-v|--invert-match}} "{{검색_패턴}}"`