2017-09-21 5 views

답변

4

lua -e "print("hello")" 쉘 작성 lua -e 'print(hello)'로 인해 동일합니다.? 쉘은 쉼표를 3 문자열의 연결로 해석합니다 : "print(", hello")"
그래서 Lua는 전역 변수를 인쇄합니다 가능 hellonil입니다.
셸 구문 분석에서 따옴표를 보호하려면 lua -e 'print("hello")'을 시도하십시오.