in reply to Re: Catch the exact command line including the quotation marks and so on
in thread Catch the exact command line including the quotation marks and so on
if I doperl CJ.pl -help -m "double quote goes here" 'single quote goes here'
I get:my $script = join " ", $0, @ARGV; print "$script \n "; die;
As you can see, not only quotes are gone, the spaces in the message is removed too! Here is the perl info I am using on Mac:CJ.pl -help -m doublequotegoeshere singlequotegoeshere
This is perl 5, version 16, subversion 3 (v5.16.3) built for darwin-th +read-multi-2level
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Catch the exact command line including the quotation marks and so on
by Your Mother (Archbishop) on Oct 23, 2015 at 20:14 UTC | |
by CJmonk (Initiate) on Oct 23, 2015 at 21:02 UTC | |
by soonix (Chancellor) on Oct 24, 2015 at 17:49 UTC |