From 30f3e92d37907fe203f22cb85ce569de752b0107 Mon Sep 17 00:00:00 2001 From: Martin Haye Date: Tue, 28 Jun 2016 06:59:28 -0700 Subject: [PATCH] Tiny script to extract text from the XML files, for spell and grammar checking. --- Platform/Apple/virtual/extractText.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 Platform/Apple/virtual/extractText.sh diff --git a/Platform/Apple/virtual/extractText.sh b/Platform/Apple/virtual/extractText.sh new file mode 100755 index 00000000..f89a31aa --- /dev/null +++ b/Platform/Apple/virtual/extractText.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +egrep 'field name="TEXT"' data/world/world.xml | sed 's/ *<[^>]*>//g' > gameStrings.txt