Create an executable for a program in an interpreted language: Difference between revisions
Create an executable for a program in an interpreted language (view source)
Revision as of 07:06, 18 September 2022
, 1 year ago→{{header|jq}}: gojq
(→{{header|jq}}: gojq) |
|||
Line 379:
=={{header|jq}}==
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.
Line 396 ⟶ 395:
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].
|