Create an executable for a program in an interpreted language: Difference between revisions
Content added Content deleted
(→{{header|jq}}: gojq) |
|||
Line 379: | Line 379: | ||
=={{header|jq}}== |
=={{header|jq}}== |
||
This entry confines itself to the task (creating an executable) in computing environments that support the "shebang" technique. |
This entry confines itself to the task (creating an executable) in computing environments that support the "shebang" technique. |
||
A bash shell, for example, would suffice. |
A bash shell, for example, would suffice. |
||
Line 396: | Line 395: | ||
The file with the shebang line and program must of course be made executable (e.g. by running `chmod +x FILENAME`). |
The file with the shebang line and program must of course be made executable (e.g. by running `chmod +x FILENAME`). |
||
gojq, the Go implementation of jq, also supports the shebang technique, but in the case of gojq, the -f option should be specified last. |
|||
Variations and further details are given in the [https://github.com/stedolan/jq/wiki/FAQq%20FAQ jq FAQ]. |
Variations and further details are given in the [https://github.com/stedolan/jq/wiki/FAQq%20FAQ jq FAQ]. |