我刚刚在Centos 6.5上阅读/etc/init.d/httpd
,注意到所有的字符串都像$"Hello World."
这样被引用。我从来没有见过这种语法,也在谷歌上搜不到任何相关信息。
摘录:
if ! LANG=$HTTPD_LANG $httpd $OPTIONS -t >&/dev/null; then
RETVAL=6
echo $"not reloading due to configuration syntax error"
failure $"not reloading $httpd due to configuration syntax error"
这是怎么回事?