openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis E. Hamilton" <dennis.hamil...@acm.org>
Subject RE: a question about "APPLY-4.1.2-patch1.bat"
Date Sun, 21 Aug 2016 18:27:48 GMT
Ahah!  That's how to parse a text file!!  I knew that was possible but hadn't dug that deep.

Thanks.

Yes, it would have been better, although it turns out checking on hwp.dll was needed too.

I don't think we need to change at this point.  Presumably folks won't try this on post-4.1.2
releases :).  

Thanks again,

There are some future utility cases where the parsing of text will be important.

> -----Original Message-----
> From: Oliver Brinzing [mailto:Oliver.Brinzing@gmx.de]
> Sent: Sunday, August 21, 2016 00:12
> To: dev@openoffice.apache.org
> Subject: Re: a question about "APPLY-4.1.2-patch1.bat"
> 
> Hi,
> 
> >> Apache OpenOffice 4.1.2 *does* *not* install hwp.dll.  It should not
> be there.
> 
> wouldn't it be better to check the "version.ini" instead of hwp.dll ?
> an upcoming aoo420 release will not contain hwp.dll too ...
> 
> for example, something like this:
> 
> @echo off
> setlocal
> FOR /F "tokens=1,2 delims=^=" %%a IN ('type "%AOOPATCH%\version.ini"')
> DO (
>   if '%%a' == 'OOOPackageVersion' (
>     if '%%b' == '4.1.2' echo %%b
>   )
> )
> endlocal
> 
> Regards
> Oliver
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
> For additional commands, e-mail: dev-help@openoffice.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org
For additional commands, e-mail: dev-help@openoffice.apache.org


Mime
View raw message