aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xponyquotes.sh17
-rw-r--r--ponyquotes/ponies8
2 files changed, 21 insertions, 4 deletions
diff --git a/ponyquotes.sh b/ponyquotes.sh
new file mode 100755
index 0000000..9c34226
--- /dev/null
+++ b/ponyquotes.sh
@@ -0,0 +1,17 @@
+mkdir -p quotes
+
+for ponies in $(cat ponyquotes/ponies); do
+
+ for pony in $(echo $ponies | sed -e 's/+/ /g'); do
+ echo 'Generating quote files for '"$pony"
+
+ for file in $(ls "ponyquotes/" | grep "$pony\\.*"); do
+
+ if [[ -f "ponyquotes/$file" ]]; then
+
+ cp "ponyquotes/"$file "quotes/"$ponies'.'$(echo $file | cut -d '.' -f 2)
+ fi
+ done
+ done
+done
+
diff --git a/ponyquotes/ponies b/ponyquotes/ponies
index 364b150..0defad8 100644
--- a/ponyquotes/ponies
+++ b/ponyquotes/ponies
@@ -40,7 +40,7 @@ doctor+doctornohat
elsie
fancypants
fido
-cadence+cadance+fillycadence+fillycadance
+cadance+fillycadance
fillydash+fillydashfly
flam
fleurdelis+fleurdelishair+fleurdelislay
@@ -64,7 +64,7 @@ maredowellfly+maredowellgallop
master
mayor
minuette+colgate
-mjölna
+mjolna
mrssparkle+twilightvelvet
nightmare
noteworthy+blues
@@ -74,7 +74,7 @@ orange
owl
parasprite
philomena
-phoenix
+philomenaphoenix
photofinish
pinkamina
pinkie+pinkiecannonfront+pinkiecannon+pinkiebounce+pinkiecannonhappy+pinkiegala+pinkiechicken+pinkiehugfluttershy+pinkiegummy+pinkietongue+pinkiesilly
@@ -120,7 +120,7 @@ sweetie
tank
trixie+trixiestage+trixiestand
turnip
-twilight+twilightcrazyfromball+twilightfury+twilightzero+fillytwilight
+twilight+twilightcrazyfromball+twilightrage+twilightzero+fillytwilight
twist
vinyl+djpon-3+vın̈yl
violet+royalribbon