LDP/LDP/guide/docbook/abs-guide/ex74.sh

15 lines
145 B
Bash

#!/bin/bash
# ex74.sh
# This is a buggy script.
# Where, oh where is the error?
a=37
if [$a -gt 27 ]
then
echo $a
fi
exit $? # 0! Why?