SHARE
TWEET
[: 10: Linux: unexpected operator
a guest
May 2nd, 2010
123
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- #!/bin/sh
- GOSALES_OS=`uname`
- GOSALES_ECHO_PROMPT="-e"
- echo Operating system : ${GOSALES_OS}
- if [ "${GOSALES_OS}" == "AIX" ] ; then
- GOSALES_ECHO_PROMPT=""
- else
- echo "ok"
- fi
RAW Paste Data
