#!/h/COE/Comp/PERL5/bin/perl -T -I/h/COE/lib  -w
#-
 # Copyright (C) 2002, Federal Linux Systems
 # License: GNU Lesser General Public License, v2.1
#- 

use strict;
use Coe;

my $PRGM="COE_to_fname";
my $VERSION="1.1.4.1";

if (@ARGV != 1) {
	&useage;
	exit 202;
} 

sub useage {
	print "Useage: COE_to_fname [options] \"\"\n";
}

my $arg1;

while ( @ARGV > 0 ){
	$arg1=cleanString(shift,4);
	if ("$arg1" eq "-h") {
		useage;
   		exit 0;
	} elsif ("$arg1" eq "-H") {
		coeMan("COE_COMP/UserMgmt/docs/man/$PRGM");
   		exit 0;
	} elsif ("$arg1" eq "-V") {
   		print "VERSION: $VERSION\n";
   		exit 0;
	} else {
		$arg1=cleanString($arg1,0);
   		print ("$arg1\n");
	}
}

exit 0;