#!/bin/sh if [ $# -lt 1 ]; then cat< $CC \"$INPUT\" -o \"$FILE\" $FLAGS" ## Zsh compatibility. We need it otherwise word splitting of parameter will not ## work. STATUS="$(set -o | awk '/shwordsplit / {print $2}')" [ "$STATUS" = "off" ] && set -o shwordsplit $CC "$INPUT" -o "$FILE" $FLAGS ## Restore Zsh previous options. This will not turn off shwordsplit if it ## was on before calling the function. [ "$STATUS" = "off" ] && set +o shwordsplit echo "==> $FILE" "$FILE" rm "$FILE"