7
Bash 변수 범위
마지막 echo문장이 비어있는 이유를 설명해주세요 . XCODEwhile 루프에서 1의 값으로 증가 할 것으로 예상합니다 . #!/bin/bash OUTPUT="name1 ip ip status" # normally output of another command with multi line output if [ -z "$OUTPUT" ] then echo "Status WARN: No messages from SMcli" exit $STATE_WARNING else echo "$OUTPUT"|while read NAME …