summaryrefslogtreecommitdiff
path: root/examples/scripts.noah/number.bash
diff options
context:
space:
mode:
Diffstat (limited to 'examples/scripts.noah/number.bash')
-rw-r--r--examples/scripts.noah/number.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/scripts.noah/number.bash b/examples/scripts.noah/number.bash
index 23e58b46..37b62b6f 100644
--- a/examples/scripts.noah/number.bash
+++ b/examples/scripts.noah/number.bash
@@ -108,7 +108,7 @@ function number ()
;;
0 ) : ;;
* )
- if test ".${val2}" != '.' -a ".${d1}" != '.0' ; then
+ if test ".${val2}" != '.' && test ".${d1}" != '.0' ; then
val2="${val2}-"
fi
case "${d1}" in