Skip to content

Instantly share code, notes, and snippets.

@rxw1
Created December 5, 2013 03:55
Show Gist options
  • Save rxw1/7799835 to your computer and use it in GitHub Desktop.
Save rxw1/7799835 to your computer and use it in GitHub Desktop.
Hello from all your voices…
~ % for i in $(say -v\? | cut -f1 -d\ ); do echo -n "$i "; say -v $i hello; done
~ % say -v\? | awk '{print $1}' | while read -r l; do echo -n "$l "; say -v $l hello; done
~ % say -v\? | while read -r l; do l=(${=l}); echo -n "$l[1] "; [1]; say -v $l[1] $l[4,-1]; done # littl bit broken
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment