index
:
gcd
master
The Greatest Common Divisor in many languages and tools
Igor Pashev
summary
refs
log
tree
commit
diff
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rwxr-xr-x
gcd.sh
4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcd.sh b/gcd.sh
index 9548b1d..b956286 100755
--- a/
gcd.sh
+++ b/
gcd.sh
@@ -16,5 +16,7 @@ gcdn() {
echo $r
}
-gcdn $*
+if test $# -gt 0 ; then
+ gcdn $*
+fi