App-portage/version

Version command is a recently creation of a unknow programer with two targets in mind,
 * 1) get version infomation  of a package.
 * 2) operate with version of a package.

To install the program just add the guru repository and then install the with

naturaly you have the option'help'

will display few acceptable formats for the inputs

to get version information of gentoolkit package use: {{Invocation|version -g app-portage/gentoolkit|output= 0.5.0 }

you can check if the version is more small what 1.0 version -c app-portage/gentoolkit s= 1.0 or (if you console accept) version -c app-portage/gentoolkit <= 1.0 the output will be in this case true yo can get a more descriptive output adding 'indicators' option version -ci app-portage/gentoolkit s= 1.0 the output will be in this case app-portage/gentoolkit : pass(0.5.0) you can optener platfor infomation with option 'platform' version -p the output on the getoon base system will be: Portge

you can check tha example directory (in source) to get more reinterpretation of version-check.sh script provided in LFS book.