This example is of a Vue script set executable and utilizing an interpreter ÒmagicÓ string at the top of the file. Vue scripts can be passed as parameters to the probevue binary or wrapped in a shell script (where they are passed to the probevue binary).
A limited set of parameters can be passed to the interpreter through the ÒshebangÓ line. When passing complex parameters, strings, or include (.i) files it is recommended that the Vue script be wrapped in a shell script. Wrapping within a shell gives additional flexibility in parameter parsing and validation.
When passing strings in a Vue script that has been set executable, the strings must be passed with escaped quotes Ð otherwise the strings are parsed by ProbeVue as objects (such as a variable name). This is inconsistent with most other Unix / shell tools, so the recommendation is to wrap scripts requiring string parameters in a shell script.