[EXT]Re: A bug in install-tl-windows.bat
Siep Kroonenberg
siepo at bitmuis.nl
Sat Apr 12 22:41:29 CEST 2025
On Sat, Apr 12, 2025 at 10:05:51PM +0200, Siep Kroonenberg via tex-live wrote:
> On Thu, Apr 10, 2025 at 09:13:59AM +0100, Philip Taylor wrote:
> >
> > On 10/04/2025 08:56, Siep Kroonenberg via tex-live wrote:
> > > This email originated from outside Royal Holloway. Be cautious using links, attachments and QR codes.
> > >
> > >
> > > [...]
> > > > > This is a valid string comparison.
> > > > Well, perhaps I am misunderstanding how it is intended to be used, but it is
> > > > not accepted by my 64-bit Windows 11 system. What follows is a transcript
> > > > of my test —
> > > >
> > > > d:\Users\Primary user>set ver_str = .
> > > There should be no spaces around '='.
> >
> > Seemingly false, Siep. See following transcript —
> >
> > > d:\Users\Primary user>set ver_str = "assignation operator surrounded
> > > by spaces"
> > >
> > > d:\Users\Primary user>set
> > > ALLUSERSPROFILE=d:\ProgramData
> > > APPDATA=d:\Users\Primary user\AppData\Roaming
> > > [...]
> > > USERPROFILE=d:\Users\Primary user
> > > ver_str = "assignation operator surrounded by spaces"
>
> C:\Users\siepo>set ver_str = "assignation operator surrounded by spaces"
> C:\Users\siepo>echo %ver_str%
> %ver_str%
> C:\Users\siepo>echo --%ver_str %--
> -- "assignation operator surrounded by spaces"--
I.e. the spaces surrounding '=' were added to the variable name and
-value (the subsequent three lines below were left in by accident).
> echo %ver_str%
> %ver_str%
> echo --%ver_str %--
--
Siep Kroonenberg
More information about the tex-live
mailing list.