# Get the key value of input arguments format like '--args=value'.
get_key_value()
{
echo "$1" | sed 's/^--[a-zA-Z_-]*=//'
}
get_key_value()
{
echo "$1" | sed 's/^--[a-zA-Z_-]*=//'
}
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29497382/viewspace-2153353/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/29497382/viewspace-2153353/