Ĉ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.
2017-06-13 20:21:48 -05:00
|
|
|
# pronounce.sh
|
2017-06-13 20:46:05 -05:00
|
|
|
Plays/downloads the Wiktionary pronunciation of a word.
|
|
|
|
*Usage:* "**pronounce.sh WORD [limit -po filename]**"
|
2017-06-13 20:29:32 -05:00
|
|
|
|
2017-06-13 20:46:05 -05:00
|
|
|
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.
|
2017-06-13 20:29:32 -05:00
|
|
|
|
|
|
|
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?
|
|
|
|
|
2017-06-13 20:46:05 -05:00
|
|
|
```$ pronounce.sh hovercraft 1 -p```
|
2017-06-13 20:29:32 -05:00
|
|
|
|
|
|
|
Only tested on OpenBSD's ksh, but it should work on bash and other modern shells.
|