I am developing a tool which is intended to support all unix platforms including HP-UX. And for HP-UX, my tool is supposed to behave a little differently on 11i v1.0, 11i v2.0 & 11i v3.0. However, when I use 'uname -a', I don't know how to tell which piece of info means 11i v1.0, v2.0, or v3.0.
I googled some info and realize that 11.23 is probably 11i v2.0. but I could not find what the rule is for mapping the output of 'uname -r' to 11i vx.0. And I don't understand what 'B' means of the output of 'uname -r'.
Any help or guidance is highly appreciated!
Code:
# uname -a
HP-UX tbird B.11.23 U 9000/800 98684004 unlimited-user license
# uname -r
B.11.23
I googled some info and realize that 11.23 is probably 11i v2.0. but I could not find what the rule is for mapping the output of 'uname -r' to 11i vx.0. And I don't understand what 'B' means of the output of 'uname -r'.
Any help or guidance is highly appreciated!