#
# the export the user file to ascii command
#
#
#
my $self = shift;
my $line = shift;;
return (1, $self->msg('e5')) unless $self->priv >= 9;

my $line ||= 'user_json';
my ($fn, $flag) = split /\s+/, $line;
unless ($fn && $fn eq 'user_json') {
	$fn =~ s|[/\.]||g;
	$fn = "/tmp/$fn";
}
my $strip = $flag eq 'strip';

my @out = DXUser::export($fn, $strip);

return (1, @out);


