Pregunta

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?

¿Fue útil?

Solución

Probably a shebang, a Unix script file convention.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top