问问题
120 次
2 回答
4
于 2010-10-25T04:05:54.610 回答
0
depending on the language the quotes matter. A simple example can be done in bash, where quotes are everything:
bash$: "I am `whoami`"
I am root
bash$: 'I am `whoami`'
I am `whoami`
In the case of bash ( and many other languages ), using single quotes, vs double quotes has serious implications. Check the language you're using for documentation on how each token is treated.
于 2010-10-25T04:04:46.547 回答