#!/bin/bash

DOC=$1;
DOCBR="$1.brl";

if [ -f $DOCBR ] 
then
    rm $DOCBR
fi

./nat-launch -c ~/.nat-braille/filters/musiquelinuxnomep\
             -f $DOC\
             -t $DOCBR

if [ -f $DOCBR ] 
then
    cat $DOCBR
else
    echo "pas de sortie"
fi