]> Git — Sourcephile - julm/rezine-rfcs.git/blob - scripts/plain.sh
scripts: fix removeAtExit
[julm/rezine-rfcs.git] / scripts / plain.sh
1 #!/usr/bin/env bash
2 # Usage: scripts/plain.sh rfcs/p1
3 # SPDX-FileCopyrightText: 2024 Julien Moutinho (adh14) <julm+rezine@autogeree.net>
4 # SPDX-License-Identifier: AGPL-3.0-or-later
5 set -eu
6 . "${0%/*}"/lib.sh
7 set -x
8
9 for rfcDir in "$@"; do
10 rfcDirMetadata
11 rfcRevision
12 rfcPlain -o "$rfcDir".txt
13 done