inc_version() { awk -F. -vOFS=. '{ $ver++; while(ver++<NF) $ver=0; print $0 }' ver=$1 }
https://gir.st/blog/inc-version.htm
Was this post helpful?
Let us know if you liked the post. That’s the only way we can improve.
inc_version() { awk -F. -vOFS=. '{ $ver++; while(ver++<NF) $ver=0; print $0 }' ver=$1 }
https://gir.st/blog/inc-version.htm
Copyright © 2026, Linux Shtuff. Proudly powered by WordPress. Blackoot design by Iceable Themes.