Le site arthur.bebou.netlib.re - retour accueil
git clone git://bebou.netlib.re/arthur.bebou
Log | Files | Refs |
commit 5c44ef67b73fdabc47e206d56732c6b20745b39a parent 7bdd4f29608f5cfcc13fcb7b4795c300da4b6c53 Auterice: Arthur Pons <arthur.pons@unistra.fr> Date: Sun, 28 Apr 2024 00:17:30 +0200 Meilleur sommaire Diffstat:
M | page | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/page b/page @@ -48,7 +48,8 @@ grep -E "^##+" "$file" > $the/titles grep -v '^$' | cut -d'"' -f2 | sed -E 's/^/(#/;s/$/)/' > $the/slugs -sed -E 's/#/ /g;' $the/titles | +sed -E 's/^##/ /g;' $the/titles | + sed -E 's/#/ /g' | sed -E 's/ (\w)/[\1/;s/$/]/' | sed -E 's/([^* ])/* \1/' | paste - $the/slugs |