Другое решение python через re.sub.
$ python3 -c 'import re, sys
with open(sys.argv[1]) as f:
for line in f:
print(re.sub(r"\d+", lambda x: str(int(x.group())+1), line), end="")' file
ami22 ami66
ami68 ami67
ami89 ami77 ami30
ami56
ami55
ami33