2
0
mirror of https://github.com/ietf-wg-dnsop/wg-materials synced 2025-08-22 02:09:16 +00:00

30 lines
648 B
Bash
Raw Normal View History

#!/bin/sh
# simple script to do the doc preperation for an upcoming ietf meeting
# this fails for interims
WG=dnsop
ECHO=
if test $# -ne 1; then
echo "usage: <num>"
exit 1
fi
mtg=$1
IETF="${WG}-ietf$1"
if test -d "${IETF}"; then
echo "${IETF} already exists"
exit 1
fi
echo "Creating ${IETF}..."
${ECHO} mkdir -p "${IETF}"
2021-07-23 12:21:01 -04:00
${ECHO} sed -e "s/%%MTG%%/${mtg}/g" ${WG}-templates/${WG}-agenda-requests-template.md > "${IETF}"/"${IETF}"-agenda-requests.md
${ECHO} sed -e "s/%%MTG%%/${mtg}/g" ${WG}-templates/${WG}-agenda-template.md > "${IETF}"/"${IETF}"-agenda.md
${ECHO} ln -s "${IETF}"-agenda-requests.md "${IETF}"/README.md