摘要:
Hadoop注意事项 阅读全文
posted @ 2012-07-09 23:12
花考拉
阅读(1293)
评论(1)
推荐(0)
摘要:
1.bc计算平方和2的n次方#!/bin/bashsquare(){echo "square of $1 is \c"echo "$1*$1"|bc}########################cube(){echo "cube of $1 is \c"echo "2^$1"|bc}#######################power(){echo "raising 2 to the power of $1 is \c"}while getopts s:c:p: optiondocase 阅读全文
posted @ 2012-07-09 09:36
花考拉
阅读(491)
评论(0)
推荐(0)

浙公网安备 33010602011771号