1
0
Disbranĉigi 0
Fetch the audio pronounciation of a word from Wiktionary.
Ĉi tiu deponejo arĥiviĝis je 2024-01-28. Vi povas vidi kaj elŝuti dosierojn, sed ne povas puŝi nek raporti problemojn nek tirpeti.
Iri al dosiero
Jaidyn Ann fdb5f37f59 Added the limit option 2017-06-13 20:46:05 -05:00
COPYING Init commit 2017-06-13 20:29:32 -05:00
README.md Added the limit option 2017-06-13 20:46:05 -05:00
pronounce.sh Added the limit option 2017-06-13 20:46:05 -05:00

pronounce.sh

Plays/downloads the Wiktionary pronunciation of a word.
Usage: "pronounce.sh WORD [limit -po filename]"

If you use the limit option, then write a number-- then only that number of pronunciations (if available) will be played.

If you use the "-p" option, then instead of saving the pronunciation, it will be played.

If you use the "-o" option, then it will be saved to the specified filename.

If you use both ("-po"), then it'll do both.

Oh, and the options must come after the word.

There's a bloody eel in my hovercraft, dammit! How do I say hovercraft?

$ pronounce.sh hovercraft 1 -p

Only tested on OpenBSD's ksh, but it should work on bash and other modern shells.