Whyblocked reminds you why you blocked someone.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
291B

  1. #!/bin/sh
  2. if [ -n "${1}" ]; then
  3. dir="$(dirname ${0})"
  4. cp -vf ${dir}/whyblocked.1.adoc .
  5. sed -Ei "s/(Revision: +)[0-9]+\.[0-9]\.[0-9]/\1${1}/" whyblocked.1.adoc
  6. a2x --doctype manpage --format manpage --no-xmllint whyblocked.1.adoc
  7. else
  8. echo "usage: ${0} VERSION" >&2
  9. fi