There are two operators that I am questioning. When I put # or $ at the top of a script, my script editor changes their colors to the same as the comment color and pre-processor color respectively. If they are pre-processor macros, could someone give an example use or situation when they'd be used for?

有帮助吗?

解决方案

Probably a shebang, a Unix script file convention.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top