Skip to content

Instantly share code, notes, and snippets.

@petere
Created August 14, 2012 03:06
Show Gist options
  • Save petere/3345974 to your computer and use it in GitHub Desktop.
Save petere/3345974 to your computer and use it in GitHub Desktop.
list funny Debian versions
grep-dctrl -F Version -e -n -s Version -v '^([[:digit:]]:)?[[:digit:]]+(\.[[:digit:]]+)*[[:alpha:]]?(-[[:digit:]]+)?(.dfsg[[:digit:]]?)?(-[[:digit:]]+(\.[[:digit:]])?(\+b1)?)?(\+nmu[[:digit:]])?$' /var/lib/apt/lists/*_dists_testing_main_source_Sources | sort -u -V | pee "cat" "wc -l"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment