Is bash shell scripting case sensitive?
bash shell脚本是否敏感?
Is variable date
the same as DATE
?
变量日期是否与日期相同?
1 个解决方案
#1
28
Yes, it is case sensitive, just like the rest of UNIX. $date
and $DATE
are two different variables. makefile
and Makefile
are two different files. -h
and -H
are two distinct flags (usually).
是的,它是区分大小写的,就像UNIX的其他部分一样。$date和$date是两个不同的变量。makefile和makefile是两个不同的文件。-h和-h是两个不同的标志(通常)。
#1
28
Yes, it is case sensitive, just like the rest of UNIX. $date
and $DATE
are two different variables. makefile
and Makefile
are two different files. -h
and -H
are two distinct flags (usually).
是的,它是区分大小写的,就像UNIX的其他部分一样。$date和$date是两个不同的变量。makefile和makefile是两个不同的文件。-h和-h是两个不同的标志(通常)。