You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/sh
|
|
|
|
if [ -n "${1}" ]; then
|
|
dir="$(dirname ${0})"
|
|
cp -vf ${dir}/whyblocked.1.adoc .
|
|
sed -Ei "s/(Revision: +)[0-9]+\.[0-9]\.[0-9]/\1${1}/" whyblocked.1.adoc
|
|
a2x --doctype manpage --format manpage --no-xmllint whyblocked.1.adoc
|
|
else
|
|
echo "usage: ${0} VERSION" >&2
|
|
fi
|