Perlist at blogspot
2015/07/03
Bash: init from arg
Initialize from argument:
TEST=$(test -n "$1" && echo $1) || { echo "Usage: $0 <path_to_file>"; exit; }
test -z $1 && echo "Usage: $0 <path_to_file>" && exit
TEST=$1
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)