Files
8bd63e3f0ce0f53ef176378a459df0d936953771
training-guides /labs /lib /osbash
Zhao Lei 6d2553ef2e Remove quotes from subshell call in bash script
Always no quotes for $() statement.
We don't need quotes to hold blanks in result:
 # i=$(echo 1 2 3)
 # echo $i
 1 2 3
 #
These quotes can make something wrong in some case:
 # i=$(echo '!')
 #
 # i="$(echo '!')"
 -bash: !: event not found
 #
No real problem for current code, only to use a better code style.
Change-Id: Ib31b49680286600c9a182875122a0a752d3f8a33
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
2015年09月23日 17:34:07 +08:00
..
2014年06月16日 15:55:23 +02:00
2015年05月03日 22:44:56 +05:30
2015年05月03日 22:44:56 +05:30