Re: Improved portableshell.bat for Strawberry Perl

[email protected] (kmx) Tue, 15 Mar 2016 11:40:29 +0100
Newsgroups perl.win32.vanilla
Message-ID <[email protected]>
--------------020203080404080204080204
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

Hello Dave,

The script in question is here 
https://github.com/StrawberryPerl/Perl-Dist-Strawberry/blob/master/share/portable/portableshell.bat

So the easiest way is to fork 
https://github.com/StrawberryPerl/Perl-Dist-Strawberry and send a pull request

--
kmx

On 13.3.2016 15:58, Dave Benham wrote:
> I am not a regular Perl user, but I am a Windows batch file enthusiast: 
>  top All-Time batch-file contributer at StackOverflow 
> <http://stackoverflow.com/tags/batch-file/topusers>, ID=dbenham
>
> I ran across the portableshell.bat file used by Portable Strawberry Perl 
> in the following StackOverflow question: 
> http://stackoverflow.com/q/35867036/1012053
>
> There are a number of problems with that script that lead to unnecessary 
> limitations:
>
>   * The root path of Portable Strawberry Perl cannot contain space, equal
>     (=), semicolon (;),  ampersand (&), or caret (^)
>   * The script will fail if the existing PATH contains an unquoted
>     ampersand or caret
>
> Plus there are other esoteric issues that could use improvement.
>
> I've developed (and tested) a significantly improved portableshell.bat 
> script that I would like to contribute.
>
> I joined GitHub, but have no idea how to proceed any further.
>
>
> Dave Benham


--------------020203080404080204080204
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Helvetica, Arial, sans-serif">Hello Dave,<br>
      <br>
      The script in question is here
<a class="moz-txt-link-freetext" href="https://github.com/StrawberryPerl/Perl-Dist-Strawberry/blob/master/share/portable/portableshell.bat">https://github.com/StrawberryPerl/Perl-Dist-Strawberry/blob/master/share/portable/portableshell.bat</a><br>
      <br>
      So the easiest way is to fork
      <a class="moz-txt-link-freetext" href="https://github.com/StrawberryPerl/Perl-Dist-Strawberry">https://github.com/StrawberryPerl/Perl-Dist-Strawberry</a> and send a
      pull request<br>
      <br>
      --<br>
      kmx<br>
    </font><br>
    <div class="moz-cite-prefix">On 13.3.2016 15:58, Dave Benham wrote:<br>
    </div>
    <blockquote
cite="mid:CAJN-JcEmA7CON3oUgq9oUbb8jZDXJOKNRov7u3Ua-9m+WhzbOw@mail.gmail.com"
      type="cite">
      <div dir="ltr">I am not a regular Perl user, but I am a Windows
        batch file enthusiast: <a moz-do-not-send="true"
          href="http://stackoverflow.com/tags/batch-file/topusers"> top
          All-Time batch-file contributer at StackOverflow</a>,
        ID=dbenham
        <div><br>
        </div>
        <div>I ran across the portableshell.bat file used by Portable
          Strawberry Perl in the following StackOverflow question: <a
            moz-do-not-send="true"
            href="http://stackoverflow.com/q/35867036/1012053"><a class="moz-txt-link-freetext" href="http://stackoverflow.com/q/35867036/1012053">http://stackoverflow.com/q/35867036/1012053</a></a></div>
        <div><br>
        </div>
        <div>There are a number of problems with that script that lead
          to unnecessary limitations:</div>
        <div>
          <ul>
            <li>The root path of Portable Strawberry Perl cannot contain
              space, equal (=), semicolon (;),  ampersand (&amp;), or
              caret (^)<br>
            </li>
            <li>The script will fail if the existing PATH contains an
              unquoted ampersand or caret</li>
          </ul>
        </div>
        <div>Plus there are other esoteric issues that could use
          improvement.</div>
        <div><br>
        </div>
        <div>I've developed (and tested) a significantly improved
          portableshell.bat script that I would like to contribute.</div>
        <div><br>
        </div>
        <div>I joined GitHub, but have no idea how to proceed any
          further.</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Dave Benham</div>
      </div>
    </blockquote>
    <br>
  </body>
</html>

--------------020203080404080204080204--