Re: [perl #31036] Switches not stripped out when executing

2004-08-10 Thread Leopold Toetsch
Larry Wall wrote: I'd go a bit further and say simply that any unrecognized switch before the invoked program is a fatal error, [EMAIL PROTECTED] parrot -x argv.pbc Option -x not known parrot -[abcCEfgGhjpPrStvVwy.] [-d [FLAGS]] [-O [level]] [-o FILE] [EMAIL PROTECTED] parrot --foo argv.pbc Optio

Re: [perl #31036] Switches not stripped out when executing

2004-08-10 Thread Leopold Toetsch
Dan Sugalski (via RT) wrote: When parrot runs it doesn't strip out the switches that it eats from the command line. So if, for example, you invoke parrot as: ./parrot foo.pbc then argv[0] is foo.pbc. On the other hand, if you invoke it as: ./parrot -t foo.pbc argv[0] is -t. Not good. I ca

Re: [perl #31036] Switches not stripped out when executing

2004-08-09 Thread Larry Wall
On Mon, Aug 09, 2004 at 05:47:21PM -0700, Dan Sugalski wrote: : Parrot needs to strip out all the switches : it understands from the command line and leave argv[0] as the name of : the invoked program. I'd go a bit further and say simply that any unrecognized switch before the invoked program is

[perl #31036] Switches not stripped out when executing

2004-08-09 Thread via RT
# New Ticket Created by Dan Sugalski # Please include the string: [perl #31036] # in the subject line of all future correspondence about this issue. # http://rt.perl.org:80/rt3/Ticket/Display.html?id=31036 > When parrot runs it doesn't strip out the switches that it eats from the command lin