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

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