[FFmpeg-devel] [PATCH] Change Regex to detect MSVC 2010 and MSVC 2012
nicolas graziano
nicolas.graziano at gmail.com
Fri Apr 25 23:17:33 CEST 2014
2014-04-25 22:06 GMT+02:00 Derek Buitenhuis <derek.buitenhuis at gmail.com>:
> On 4/25/2014 2:14 PM, nicolas graziano wrote:
>> French MSVC output : versionÿ17.00.61030 for the version number
>> Only use the numeric part for version detection.
>
> Is that 'ÿ' part of the string or just an encoding error?
>
'ÿ' is what I got when using command "cl 2> somefile.txt" with hexa
editor I got 0xFF, I think it is a non breaking space in codepage 850.
The following version is also working :
cl 2>&1 | sed -n 's/.*ersion.\([[:digit:]]\{1,\}\)\..*/\1/p'
Do you prefer it ?
Nicolas
More information about the ffmpeg-devel
mailing list