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

while(</etc/voiceman.d/*>)
{
	print "$1\n" if ($_ =~ /.*\/([^\/]+)\.voiceman/i)
}
