From 5d980f8bd4a55c678d54a47b7c1138bb80faa5e2 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Mon, 3 Oct 2016 23:26:36 -0400 Subject: [PATCH] Replace .md extension --- scripts/api-update.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/api-update.sh b/scripts/api-update.sh index 9426a711..b45c2b0b 100755 --- a/scripts/api-update.sh +++ b/scripts/api-update.sh @@ -14,5 +14,7 @@ for fn in `find . | grep md`; do sed -i.old '1s;^;layout: main\n;' $fn sed -i.old '1s;^;---\n;' $fn rm -f $fn.old + # Replace ".md" + sed -i -- 's/.md//g' $fn done