You could do it quite easily with this Powershell script. It creates a new file (rev.2.c) to ensure the original does not get destroyed.
$oldversion = "v1.8"
$newversion = "v1.9"
Get-Content -Path "rev.c" | ForEach { $_ -replace $oldversion, $newversion } | Set-Content -Path "rev2.c"