diff options
| author | vulonkaaz <7442677+vulonkaaz@users.noreply.github.com> | 2026-04-22 17:58:17 +0200 |
|---|---|---|
| committer | vulonkaaz <7442677+vulonkaaz@users.noreply.github.com> | 2026-04-22 17:58:17 +0200 |
| commit | f2dbf0287bce2db29c21e2fc9311f379993b5a58 (patch) | |
| tree | e3fb315455c3b430d40603651d65ea304187da7a /tts.sh | |
| parent | 7012f25bdbf3253cfe2c26663c065eaa4c978ace (diff) | |
fix color escaping
Diffstat (limited to 'tts.sh')
| -rwxr-xr-x | tts.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3,6 +3,6 @@ grep --line-buffered -F "[CHATTTS]"|grep --line-buffered -F "<"|while read line do pitch=$(echo $line|awk -F"[<>]" '{print $2}'| sha256sum | grep -Eo "[[:digit:]]{2}" | head -n1) - msg=$(echo $line|sed 's/@#[A-Za-z0-9]\{6\})//g;s/^[^>]*>//') + msg=$(echo $line|sed 's/^[^>]*>//') echo $msg|espeak -p $pitch done |
