#!/bin/sh
#
# The script to list all available outputs for VoiceMan Speech system.
# This script looks through /etc/tts.d and prints all files with '.voiceman' suffix (without parent directory and suffix).
# Copyright (c) 2000-2010 Michael Pozhidaev <msp@altlinux.org>

/bin/ls /etc/tts.d/*.voiceman  2> /dev/null |
    while read l; do
    FILE="${l%%.voiceman}"
    FILE="${FILE##*/}"
    echo "$FILE"
done
