Closed jamacku closed 3 years ago
Sed command get version number from spec file and increment last number by one. Work like old awk command was intended to work.
Source: https://stackoverflow.com/questions/14348432/how-to-find-replace-and-increment-a-matched-number-with-sed-awk/14348899
(cherry picked from commit bfda3cc2acdea827909e6c89bda5bbb5140cda6c)
Sed command get version number from spec file and increment last number by one. Work like old awk command was intended to work.
Source: https://stackoverflow.com/questions/14348432/how-to-find-replace-and-increment-a-matched-number-with-sed-awk/14348899
(cherry picked from commit bfda3cc2acdea827909e6c89bda5bbb5140cda6c)