moz-version(1)
NAME
moz-version - version format handling tool
SYNOPSIS
moz-version [options] --compare ver1 comparator ver2
DESCRIPTION
moz-version is a tool for working with version string from the Mozilla
suite. Currently it can only compare versions.
ACTIONS
- --compare ver1 comparator ver2
- Compare version numbers, where comparator is a binary operator. moz-version returns success (zero result) if the specified condition is satisfied, and failure (nonzero result) otherwise. The comparator must be one of lt le eq ne ge gt.
OPTIONS
- -h, --help
- Display a brief help message.
- -s, --silent
- Do not print anything and die silent on errors.
- -v, --verbose
- Print more information.
AUTHOR
- Benjamin Drung <bdrung@gmail.com>