From 1fe3d39788cfb0a167ff562fa121c90ea3b445c7 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Mon, 4 Jul 2022 16:41:27 +0300 Subject: Reworked how HTML-editing scripts are handled --- make-flags.sh | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100755 make-flags.sh (limited to 'make-flags.sh') diff --git a/make-flags.sh b/make-flags.sh deleted file mode 100755 index 786671d..0000000 --- a/make-flags.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -# Adds a way to more simply insert flags into text -# Each flag is represented with an ftag (text that is preceded by &&) - -# Available flags: -# Great Britain - &&gb - -if [ -z "$1" ]; then - echo First parameter must be a path - exit -fi - -for file in $(find "$1" -type f -name "*.html"); do - # Replaces "&&gb" with "ENG" - sed -i 's/&&gb/ENG/g' "$file" -done -- cgit v1.3.1-26-gb76a