--norc --shell fails

James Cloos cloos at jhcloos.com
Wed Jun 29 21:28:21 UTC 2022


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 at jhcloos.com>         OpenPGP: 0x997A9F17ED7DAEA6



More information about the ecl-devel mailing list