eSpeak NG is an open source speech synthesizer that supports more than hundred languages and accents.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

remove_string.sh 363B

12345678910111213
  1. #!/bin/bash
  2. #
  3. # Copyright (C) 2013 Reece H. Dunn
  4. # License: GPLv3+
  5. #
  6. # Helper utility for removing a string/string-list item in all string resources.
  7. #
  8. # Usage: ./remove_string.sh <string_id>
  9. ls res/values*/strings.xml | while read STRINGS ; do
  10. xmlstarlet ed -P -d "/resources/*[@name='${1}']" ${STRINGS} > /tmp/strings.xml
  11. mv /tmp/strings.xml ${STRINGS}
  12. done