aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorjaseg <s@jaseg.de>2013-04-06 19:09:49 +0200
committerjaseg <s@jaseg.de>2013-04-06 19:16:47 +0200
commit073dd3ccc8b8fdf4880b05b480adb0ec2dfef759 (patch)
tree804c9fdd180563fa18a15a862464f9be4d6b06bb /README.md
parenta160c991bf93c29af7017ca3476164253a31d444 (diff)
downloadponysay-073dd3ccc8b8fdf4880b05b480adb0ec2dfef759.tar.gz
ponysay-073dd3ccc8b8fdf4880b05b480adb0ec2dfef759.tar.bz2
ponysay-073dd3ccc8b8fdf4880b05b480adb0ec2dfef759.zip
Added quote aliases
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index f7957ed..55a4556 100644
--- a/README.md
+++ b/README.md
@@ -44,3 +44,11 @@ __A:__ Yeah, sorry. If you find a fix, send me a pull request.
__Q:__ Which programs do you use to generate the pony files?
__A:__ The pony files are actually mostly a bunch of selected [browser ponies](http://web.student.tuwien.ac.at/~e0427417/browser-ponies/ponies.html), converted using [util-say](https://github.com/maandree/util-say).
+
+Conversion
+----------
+Convert the old quote format with
+```
+for line in $(cat ponyquotes/ponies|grep +); do n=${line%%+*}; for a in $(sed s/+/\\n/g<<<${line#*+}); do ln -s quotes/${n}.quotes quotes/${a}.quotes; done; done
+```
+Afterwards, clean up the broken symlinks with ```find -L quotes -type l -delete```