MOZ-VERSION(1)

πŸ“¦ version 0.54.2, in debian bookworm, ubuntu jammy

πŸ’– MOZ-VERSION πŸ’–

okay bestie, so this is the manual page for moz-version from the mozilla-devscripts suite and honestly? it's a little icon and it deserves more hype. let's get into it πŸŽ€


✨ NAME ✨

moz-version β€” the version format handling tool, aka your girl for translating between Mozilla-speak and Debian-speak 🌸


πŸ¦‹ SYNOPSIS πŸ¦‹

moz-version [options] action

like, options first if you want them, then the action. simple. clean. periodt.


πŸ’… DESCRIPTION πŸ’…

moz-version is a tool for working with version strings from the Mozilla suite. it literally does three whole jobs and it does them well:

  • it can compare Mozilla versions (so you know which one's the main character πŸ‘‘)
  • it can convert a Mozilla version into a Debian upstream version
  • and it can do the reverse β€” Debian version back into a Mozilla version

both directions, no cap. it's giving bilingual πŸ’œ


🌈 ACTIONS 🌈

  • -c, --compare version1 comparator version2 β€” compares two version numbers, where comparator is a binary operator. moz-version returns success (a zero result) if the condition you asked about is satisfied, and failure (a non-zero result) if it isn't. the comparator has to be one of lt le eq ne ge gt. that's it, those six, no improvising πŸ™ˆ
  • -d, --to-deb version β€” converts a Mozilla version into a Debian upstream version. heads up though: if you want a full Debian version, you still have to add a revision yourself, because this only does the upstream part. the rest is on you, bestie 🫢
  • -m, --to-moz version β€” converts a Debian version into a Mozilla version. and listen, it does a little cleanup while it's at it: the Debian revision and the epoch both get stripped away. gone. bye ✨

πŸ”₯ OPTIONS πŸ”₯

  • -h, --help β€” shows you a brief help message. short, sweet, helpful πŸ’–
  • -s, --silent β€” prints absolutely nothing, and if there's an error it dies silently. no drama, no output, just vibes πŸ’€
  • -v, --verbose β€” prints more information. the chatty setting. yapping enabled 😭

πŸ‘‘ AUTHOR πŸ‘‘

Benjamin Drung <bdrung@debian.org> β€” the legend who made this whole thing happen, we stan 🌟


and that's the whole page, bestie!! this manual is from the mozilla-devscripts suite, dated August 2009 β€” yeah, it's been serving for a minute and it still eats πŸ’…πŸ¦‹ go compare some versions, you got this πŸ’œ

πŸ“¦ where this page comes from