REBOL3 tracker
  0.9.12 beta
Ticket #0002249 User: anonymous

Project:

Previous Next
rss
TypeWish Statussubmitted Date18-Aug-2015 08:16
Versionr3 master CategoryUnspecified Submitted byfork
PlatformAll Severityminor Prioritynormal

Summary URL! should be allowed for script on command-line...and... other types?
Description Currently the script name given on the command line must be a filename. It would be nice if a URL could be used instead.

rebol http://reb4.me/something param1 param2 param3

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:

rebol "[append/only system/options/args 1]"
Example code

			

Assigned ton/a Fixed in- Last Update18-Aug-2015 08:16


Comments

Date User Field Action Change
18-Aug-2015 08:16 Fork Ticket Added -