Home »
Code Examples »
Groovy Code Examples
Groovy Shebang line Code Example
The code for Groovy Shebang line
#!/usr/bin/env groovy
println "Hello from the shebang line"
Note:
The # character must be the first character of the file.
Any indentation would yield a compilation error.