Skip to content

Instantly share code, notes, and snippets.

@eeroan
Created December 12, 2016 17:38
Show Gist options
  • Save eeroan/942a5eef002aca562844e7215444e0a4 to your computer and use it in GitHub Desktop.
Save eeroan/942a5eef002aca562844e7215444e0a4 to your computer and use it in GitHub Desktop.
Script for making easy for Mac to talk
#!/bin/bash
echo "Kirjoita ja paina ⏎ , edellinen komento: ↑, lopetus: Ctrl-C)"
while true; do
read -e text
say -v Satu $text
history -s "$text">/dev/null
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment