From c9415599cafd67463b6a0a2781ecb47d14fdf976 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Tue, 23 Feb 2021 23:24:42 +0100 Subject: Add first program, plus script to generate them --- programmes.sh | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'programmes.sh') diff --git a/programmes.sh b/programmes.sh index 9c8d9e7..f03a636 100644 --- a/programmes.sh +++ b/programmes.sh @@ -1,3 +1,12 @@ +add-programs () +{ + sed -i \ + -e /'{PROGRAMS}'/'r '<(./build-programs.py) \ + -e /'{PROGRAMS}'/'c\' \ + $1 +} + title=Programmes stylesheets=programmes transforms=("$(transform-li-current-a programmes)") +postprocess=add-programs -- cgit v1.2.3