Opened 10 years ago

Closed 5 years ago

#907 closed enhancement (moved)

Commandline parameter for shell scripting support

Reported by: crlf0710 Owned by:
Priority: normal Milestone: Future Clozure CL
Component: Runtime (threads, GC) Version: trunk
Keywords: Cc:


Wonder if it is possible or appropriate to add a commandline parameter just like SBCL's "--script" or ECL's "-shell" switch. Maybe it will accept the pathname of a file to skip the #! line ,load, execute and quit. Any arguments following that are not processed and collected into CCL:*UNPROCESSED-COMMAND-LINE-ARGUMENTS*, just like what "--" did. This can be useful, and I don't see it will break any compatibility.

Change History (4)

comment:1 Changed 5 years ago by galdor

It would be indeed very nice to have a --script that behaves like the one for SBCL, i.e. ignoring the shebang, skipping the init file, removing compilation logs, etc.

comment:2 Changed 5 years ago by rme

Could I trouble you to re-file this ticket over on github, please?

comment:4 Changed 5 years ago by galdor

  • Resolution set to moved
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.