> Modern berrybrew handles ActiveState as well.
ah good to know °
> And if you can replace text in the path with DISABLED, why can't you replace it with empty, or at least a single semicolon?
I can only replace a fixed leading part not the whole entry because there doesn't seem to be a wildcard mechanism like regex s/c:\\perls\\.*?;//g ... I can only s/c:\\perls\\/DISABLED/g
(Well I could if I iterated over all possible complete entries)
update
demo:
c:\tmp>set DEMO=C:\perls\strawberry-perl-5.32.1.1-64bit-portable\perl\
+site\bin;
c:\tmp>set DEMO=%DEMO:C:\perls\=DISABLED%
c:\tmp>echo %DEMO%
DISABLEDstrawberry-perl-5.32.1.1-64bit-portable\perl\site\bin;
update
°) though can't find it mentioned on GitHub... |