سؤال

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