日期:2014-05-16 浏览次数:20921 次
#!/bin/sh function urlencode() { echo $1 | tr -d '\n' | xxd -plain | sed 's/\(..\)/%\1/g' } usage="Usage: mdb <set | get | apply> <attribute> <value>" case "$1" in "apply") # echo $0 apply attribute value! submit commit ;; "get") # echo $0 get $2 value case "$2" in fw_version) rgdb -i -g /runtime/sys/info/firmwareVersion ;;