blob: adf297ebeacd7db5e4507032451a0985ae821f08 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
#!/bin/sh
set -eu
rfc=%%PREFIX%%/share/rfc/"rfc${1:--index}.txt"
tags=$(mktemp -t rfc)
trap 'rm "${tags}"' EXIT
%%PREFIX%%/bin/rfctags "${rfc}" >"${tags}"
${PAGER:-less} -T "${tags}" "${rfc}"
|