X-Git-Url: https://git.cworth.org/git?p=mnemon;a=blobdiff_plain;f=mnemon-tts;fp=mnemon-tts;h=d4825ce789b3d288153faeb20672dacb21d5bd98;hp=0000000000000000000000000000000000000000;hb=3c887fd06a0a6790db978d13df4cc73f6d5b75b0;hpb=73795a28906023f8e17367ad81cb805b95d8d84b diff --git a/mnemon-tts b/mnemon-tts new file mode 100755 index 0000000..d4825ce --- /dev/null +++ b/mnemon-tts @@ -0,0 +1,10 @@ +#!/bin/sh + +arg="$@" + +# Strip undesired directory component +dir=$(dirname "$arg") + +text="${arg#$dir/}" + +echo "$text" | festival --tts