in reply to Re: Re: Windows command line
in thread Windows command line
Essentially, it is the result of experimentation and as such subject to the whims of change by MS. It has been consistant (if ecclectic) for a good while now though.
If you want to add that to your patch I'm all for it.
The harder one is working out the treatment of double quotes...
P:\test>perl -le"print qq[($_)] for @ARGV" "fred"""" """""bill" (fred") ("bill) P:\test>perl -le"print qq[($_)] for @ARGV" "fred" "bill" (fred) (bill) P:\test>perl -le"print qq[($_)] for @ARGV" "fred"" "bill" (fred") (bill) P:\test>perl -le"print qq[($_)] for @ARGV" "fred"" ""bill" (fred") (bill) P:\test>perl -le"print qq[($_)] for @ARGV" "fred"" """bill" (fred") ("bill) P:\test>perl -le"print qq[($_)] for @ARGV" "fred""" """bill" (fred" "bill) P:\test>perl -le"print qq[($_)] for @ARGV" "fred""a" ""a"bill" (fred"a "abill) P:\test>perl -le"print qq[($_)] for @ARGV" "fred"a"" "a""bill" (freda) (a"bill)
If you can discern a pattern in that lot, I've several hundred more weird examples for analysis:)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Windows command line
by demerphq (Chancellor) on Oct 18, 2003 at 21:01 UTC | |
by CountZero (Bishop) on Oct 19, 2003 at 08:57 UTC | |
|
Re^4: Windows command line (use \")
by tye (Sage) on Oct 22, 2003 at 18:41 UTC | |
by BrowserUk (Patriarch) on Oct 22, 2003 at 23:31 UTC | |
by tye (Sage) on Oct 23, 2003 at 00:00 UTC |