- Forum
- Usenet
- COMP.UNIX.SHELL
-
Add 1 to each number in a column and keep the original format/blank in
I have some stuff in a file like the following:
you're right 1
foo 2
bar 3
[...]
I want to add 1 to each number in the last column and keep the original format/blank in the middle part of the line.
Any hints to achieve this goal?
Regards,
HZ
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)