Scroll to navigation

MOZ-VERSION(1) mozilla-devscripts suite MOZ-VERSION(1)

NAME

moz-version - version format handling tool

SYNOPSIS

moz-version [options] action

DESCRIPTION

moz-version is a tool for working with version string from the Mozilla suite. It can compare Mozilla versions, convert Mozilla version into Debian upstream version and the other way round.

ACTIONS

Compare version numbers, where comparator is a binary operator. moz-version returns success (zero result) if the specified condition is satisfied, and failure (non-zero result) otherwise. The comparator must be one of lt le eq ne ge gt.
Converts Mozilla version into a Debian upstream version. For a full Debian version you have to add a revision.
Converts Debian version into a Mozilla version. The Debian revision and the epoch will be stripped away.

OPTIONS

Display a brief help message.
Do not print anything and die silent on errors.
Print more information.

AUTHOR

Benjamin Drung <bdrung@debian.org>

August 2009 moz-version