Opened 9 years ago
Closed 4 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: |
Description
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 4 years ago by galdor
comment:2 Changed 4 years ago by rme
Could I trouble you to re-file this ticket over on github, please? https://github.com/Clozure/ccl/issues
comment:3 Changed 4 years ago by galdor
Created on https://github.com/Clozure/ccl/issues/34.
comment:4 Changed 4 years ago by galdor
- Resolution set to moved
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
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.