daily pastebin goal
24%
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!
  1. #!/bin/sh
  2.  
  3. GOSALES_OS=`uname`
  4. GOSALES_ECHO_PROMPT="-e"
  5. echo Operating system : ${GOSALES_OS}
  6. if [ "${GOSALES_OS}" == "AIX" ] ; then
  7.   GOSALES_ECHO_PROMPT=""
  8. else
  9.   echo "ok"
  10. fi
RAW Paste Data
Top