原创 shell幾點細節問題總結

1、測試代碼   1 #!/bin/bash  2 set -o errexit##set -e#set -o nounset#set -u   3 readonly cmd=$1   4 readonl