@echo off

ruby -p -i.bak -e "$_.sub!(/(\d+)-.*-(\d+)/, '\1-\2')" *.rc

pause
