in reply to Re: Can anyone make this shorter?
in thread Can anyone make this shorter?

When I read the original article, it didn't seem that making a backup was part of the spec? Therefore:
# 3456789_123456789_123456789_1234567 perl -pi -e'/^xyz\s*=/&&s/\d+/1+$&/e'