this will decrease with 1 unless it's 0 (then it increments)perl -e '$0="";$r=`uname -a`;$r=~s/(?<=\.)\d+(?!\.|\d)/${$z=$&==0?$&+1 +:$&-1}$z/g;print $r;'
In reply to show increased/decreased os version (foolish but funny) by dmql
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |