-
bash 변수선언시 띄어쓰기 주의웹개발/시리얼통신 2019. 4. 17. 13:24
1번째 줄에서는 str라는 변수에 문자열이 저장되었다.
2번째에서는 변수명 띄고 =를 쓰는 바람에 명령어로 인식해서 에러가 났다.
변수명='문자열'
등호 좌우로 띄우면 안됨
'웹개발 > 시리얼통신' 카테고리의 다른 글
bash에서 Git 저장소 파일내용 추가하기 (0) 2019.04.17 bash command안에서 base64로 텍스트 인코딩하기 (0) 2019.04.16 윈도우에 jq(JSON Parser) 설치 (0) 2019.04.16 댓글