with 21.2.1, when running a script which has hash-bang line: #!/usr/bin/ecl --norc --shell i get: Unknown command line option --norc --shell. in general, hash-bang lines can only have an executable and zero or one options. the filename is not added when there are two options. it would be best if there were single-character options for --norc and --shell, so they could be combined into one -option. or, alternatively, --shell might imply --norc and there could be a function in ext: which runs the rc file(s) for those times (if any) when --rc --shell would be preferred. -JimC -- James Cloos <cloos@jhcloos.com> OpenPGP: 0x997A9F17ED7DAEA6
this works: #!/usr/bin/env -S ecl --norc --shell -JimC -- James Cloos <cloos@jhcloos.com> OpenPGP: 0x997A9F17ED7DAEA6
participants (1)
-
James Cloos