您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

22 行
270 B

  1. #!/bin/bash
  2. source pa-lib
  3. while [[ true ]]; do
  4. # waiting for the PSA text stream to start
  5. read
  6. pa-preheat
  7. pa-announcement
  8. pa-say "$REPLY"
  9. while read -t 4; do
  10. pa-say "$REPLY"
  11. done
  12. # no more text, terminate the PSA
  13. pa-announcement-quick
  14. pa-shutdown
  15. done