This is more portable in shell scripts.
Fixes: bug#19658
+2015-01-25 Paul Eggert <eggert@cs.ucla.edu>
+
+ * indent/shell.sh (bar): Use '[ $# -eq 0 ]', not '[ $# == 0 ]'.
+ This is more portable in shell scripts.
+ Fixes: bug#19658
+
2015-01-23 Dmitry Gutov <dgutov@yandex.ru>
Fix package tests when TMPDIR is in HOME. (Bug#19657)
d)
echo 3;;
esac
-
+
case $as_nl`(ac_space=' '; set) 2>&1` in #(
*${as_nl}ac_space=\ *)
# `set' does not quote correctly, so add quotes: double-quote
esac |
grep '.' | # KNOWN INDENT BUG
sed 1d
-
+
case toto in
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* \
5) hello ;;
5) hello ;;
esac
-
+
echo "'" wfgfe
#!/bin/bash
EOF2
}
bar () {
- if [ $# == 0 ]; then
+ if [ $# -eq 0 ]; then
while
f # KNOWN INDENT BUG
do
# adsgsdg
echo "screwed up"
fi
-
+
$@ $? $#
-
+
for f in *
do
sdfg
done
-
+
if swrgfef
then blas
else sdf
fi
-
+
fi
}