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.
Code by Shivang Yadav, on July 24, 2022
Reference: https://groovy-lang.org

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.