Hi,
I have output of elm >> to LOGFILE like:
elm -s "$SUBJECT" -a $MAILTO < $BODY >>$LOGFILE
and after that I have a lot of weird things doing cat or grep with LOGFILE. Doing VI it, I see only the following :
^[[22;1H^[[JText has 8BIT data and charset=US-ASCII, using charset=UNKNOWN-8BIT
in CAT contents include meaningful info in it coming from ELM like:
“Sending mail...” + a lot of empty lines.
Basically I want to get rid of all not-readable stuff, making my LOGFILE clean.
But doing “ grep ‘[a-z]’ LOGFILE “ I have absolutely same contents. Will appreciate any wise.
Thanks
Mario
I have output of elm >> to LOGFILE like:
elm -s "$SUBJECT" -a $MAILTO < $BODY >>$LOGFILE
and after that I have a lot of weird things doing cat or grep with LOGFILE. Doing VI it, I see only the following :
^[[22;1H^[[JText has 8BIT data and charset=US-ASCII, using charset=UNKNOWN-8BIT
in CAT contents include meaningful info in it coming from ELM like:
“Sending mail...” + a lot of empty lines.
Basically I want to get rid of all not-readable stuff, making my LOGFILE clean.
But doing “ grep ‘[a-z]’ LOGFILE “ I have absolutely same contents. Will appreciate any wise.
Thanks
Mario