Improved portableshell.bat for Strawberry Perl

[email protected] (Dave Benham) Sun, 13 Mar 2016 10:58:45 -0400
Newsgroups perl.win32.vanilla
Message-ID <CAJN-JcEmA7CON3oUgq9oUbb8jZDXJOKNRov7u3Ua-9m+WhzbOw@mail.gmail.com>
--001a1147a3f09c150f052def6603
Content-Type: text/plain; charset=UTF-8

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

--001a1147a3f09c150f052def6603
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I am not a regular Perl user, but I am a Windows batch fil=
e enthusiast: <a href=3D"http://stackoverflow.com/tags/batch-file/topusers"=
>=C2=A0top All-Time batch-file contributer at StackOverflow</a>, ID=3Ddbenh=
am<div><br></div><div>I ran across the portableshell.bat file used by Porta=
ble Strawberry Perl in the following StackOverflow question: <a href=3D"htt=
p://stackoverflow.com/q/35867036/1012053">http://stackoverflow.com/q/358670=
36/1012053</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 ro=
ot path of Portable Strawberry Perl cannot contain space, equal (=3D), semi=
colon (;), =C2=A0ampersand (&amp;), or caret (^)<br></li><li>The script wil=
l fail if the existing PATH contains an unquoted ampersand or caret</li></u=
l></div><div>Plus there are other esoteric issues that could use improvemen=
t.</div><div><br></div><div>I&#39;ve developed (and tested) a significantly=
 improved portableshell.bat script that I would like to contribute.</div><d=
iv><br></div><div>I joined GitHub, but have no idea how to proceed any furt=
her.</div><div><br></div><div><br></div><div>Dave Benham</div></div>

--001a1147a3f09c150f052def6603--