리눅스 쉘 스크립트 학습 - 입력값이 숫자인지 확인하는 스크립트

Purple·2022년 10월 13일
0

리눅스 쉘 스크립트

목록 보기
28/53

isNumber.sh

  • ^ : Beginning. Mtaches the beginning of the string, or the beginning of a line if the multiline flag (m) is enabled.
  • [] : character set. Match any character in the set
  • "+" : Quantifier. Match 1 or more of the preceding token.
  • $ : End. Matches the end of the string, or the end of a line if the multiline flag (m) is enabled.
profile
안녕하세요.

0개의 댓글