ksh basic

카테고리 없음 2016. 3. 2. 16:22


#할당때공백쓰지말것

TM_YYYY = "2016";  # space BAD #not found, error

TM_YYYY="2016";  # no space GOOD

# 비교 문에도 공백 넣지 말 것

#숫자 비교

integer this_mm

this_mm=3;

if ((this_mm==3)); then

fi

# 파라미터 비교

if [[ $1 = -B ]]; then

fi