On Sun, Apr 27, 2025 at 6:58 PM Michael Grant <michael.gr...@gmail.com> wrote:
> What if you append a '0' to the end if there's no letter, and if there is > a letter, convert that to a number. How about something like this: > > echo '3.2a' | sed -e 's/\([0-9]\)$/\10/;s/\.//g' | tr > '0123456789abcdefghi' '0123456789123456789' > > Thank you for this suggestion. It works, but it's cumbersome. which produces 321 and without the a produces 320. Thing is, in the > future, who knows if a version 9a or 14b.6 will come out. > > However, I agree, adding a numeric version would be a good idea. I have > also had to do above hacks like the above on other things. > > +1 -- > You received this message because you are subscribed to the Google Groups > "tmux-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to tmux-users+unsubscr...@googlegroups.com. > To view this discussion, visit > https://groups.google.com/d/msgid/tmux-users/d4e34b5c-d5a9-4e40-83e5-40f8d02cbde1n%40googlegroups.com > <https://groups.google.com/d/msgid/tmux-users/d4e34b5c-d5a9-4e40-83e5-40f8d02cbde1n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "tmux-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to tmux-users+unsubscr...@googlegroups.com. To view this discussion, visit https://groups.google.com/d/msgid/tmux-users/CAGdJj4SMdoqR82-7yePPrRhQ8BwZ9df6Lo9GepXmfbcdt_b2JA%40mail.gmail.com.