瀏覽代碼

initial commit

Julien Dehos 7 年之前
當前提交
9bfb685967
共有 2 個文件被更改,包括 13 次插入0 次删除
  1. 0 0
      README.md
  2. 13 0
      bin/double_n.sh

+ 0 - 0
README.md


+ 13 - 0
bin/double_n.sh

@@ -0,0 +1,13 @@
+#!/bin/sh
+
+if [ $# -ne 1 ] ; then
+    echo "usage: $0 <n>"
+    exit
+fi
+
+n1=$1
+n2=`echo "${n1} * 2" | bc`
+
+echo "n1;n2"
+echo "${n1};${n2}"
+