The more general thought from this would be "you should be able to pass anything that DO would take", and have it replace the --do switch. This would run into contention in the general case if you tried the likes of:
rebol "append/only system/options/args 1"
That could be a file called "args 1" under some directories. While forcing people to put % in front of their file names would be one answer, that's not an answer compatible with automatic command line completion.
So a way to think of requesting a DO of code behavior would be to still not have a --do switch but enclose the first argument in brackets or parens:
Submitted by: fork
Currently the script name given on the command line must be a filename. It would be nice if a URL could be used instead.
The more general thought from this would be "you should be able to pass anything that DO would take", and have it replace the --do switch. This would run into contention in the general case if you tried the likes of:
That could be a file called "args 1" under some directories. While forcing people to put % in front of their file names would be one answer, that's not an answer compatible with automatic command line completion.
So a way to think of requesting a DO of code behavior would be to still not have a --do switch but enclose the first argument in brackets or parens:
Imported from: CureCode [ Version: r3 master Type: Wish Platform: All Category: Unspecified Reproduce: Always Fixed-in:none ] Imported from: https://github.com/rebol/rebol-issues/issues/2249
Comments: