1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

idnits, iex, if: add Korean translation (#14651)

* idnits, iex, if: add Korean translation

* fix: fix untranlated code
This commit is contained in:
HoJeong Im 2024-11-07 08:51:34 +09:00 committed by GitHub
parent da84df7531
commit cf45a79e8d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 78 additions and 0 deletions

25
pages.ko/common/idnits.md Normal file
View file

@ -0,0 +1,25 @@
# idnits
> 제출 니트에 대한 인터넷 초안을 확인.
> <https://www.ietf.org/id-info/checklist>에 나열된 요구 사항의 섹션 2.1 및 2.2에 대한 위반 사항을 찾음.
> 더 많은 정보: <https://github.com/ietf-tools/idnits>.
- 파일에서 니트를 확인:
`idnits {{경로/대상/파일.txt}}`
- 표시하지 않고 니트 수 계산:
`idnits --nitcount {{경로/대상/파일.txt}}`
- 위반 라인에 대한 추가 정보 표시:
`idnits --verbose {{경로/대상/파일.txt}}`
- 현재 연도 대신 상용구에 지정된 연도를 예상:
`idnits --year {{2021}} {{경로/대상/파일.txt}}`
- 문서가 지정된 상태에 있다고 가정:
`idnits --doctype {{standard|informational|experimental|bcp|ps|ds}} {{경로/대상/파일.txt}}`

16
pages.ko/common/iex.md Normal file
View file

@ -0,0 +1,16 @@
# iex
> IEx는 Elixir의 대화형 셸.
> 더 많은 정보: <https://hexdocs.pm/iex>.
- 대화형 세션을 시작:
`iex`
- 역사를 기억하는 세션을 시작:
`iex --erl "-kernel shell_history enabled"`
- Mix 프로젝트 파일 시작 및 로드:
`iex -S mix`

37
pages.ko/common/if.md Normal file
View file

@ -0,0 +1,37 @@
# if
> 쉘 스크립트에서 조건부 처리를 수행.
> 참고: `test`, `[`.
> 더 많은 정보: <https://www.gnu.org/software/bash/manual/bash.html#Conditional-Constructs>.
- 조건 명령어의 종료 상태가 0인 경우, 지정된 명령을 실행:
`if {{조건_명령어}}; then {{echo "Condition is true"}}; fi`
- 조건 명령어의 종료 상태가 0이 아닌 경우, 지정된 명령을 실행:
`if ! {{조건_명령어}}; then {{echo "Condition is true"}}; fi`
- 조건 명령어의 종료 상태가 0이면 첫 번째 지정된 명령을 실행하고, 그렇지 않으면 두 번째 지정된 명령을 실행:
`if {{조건_명령어}}; then {{echo "Condition is true"}}; else {{echo "Condition is false"}}; fi`
- 파일([f]ile)이 존재하는지 확인:
`if [[ -f {{경로/대상/파일}} ]]; then {{echo "Condition is true"}}; fi`
- 디렉토리([d]irectory)가 존재하는지 확인:
`if [[ -d {{경로/대상/디렉터리}} ]]; then {{echo "Condition is true"}}; fi`
- 파일이나 디렉터리가 존재하는지([e]xists) 확인:
`if [[ -e {{경로/대상/파일_또는_디렉터리}} ]]; then {{echo "Condition is true"}}; fi`
- 변수가 정의되었는지 아닌지 검사:
`if [[ -n "${{변수}}" ]]; then {{echo "Condition is true"}}; fi`
- 가능한 모든 조건을 나열 (`test``[`의 별칭; 둘 다 일반적으로 `if`와 함께 사용됨):
`man [`