Hi Maykel,
> > This will remove the carriage returns at the end of lines once
> > script has finished.
>
> This not working. Not quit the end file log character "^M"
>
> > script -f -c '/usr/local/bin/cccam -d' mylogfile.log
> > sed -i 's/\r$//' mylogfile.log
It works here.
$ script
El sáb., 2 mar. 2019 a las 10:23, Ralph Corderoy
() escribió:
>
> Hi Maykel,
>
> > Now only remove ^M character from log files in buffer time but this
> > not working:
> >
> > script -f -c '/usr/local/bin/cccam -d' mylogfile.log | sed 's/^M//g'
>
> script(1) writes to mylogfile.log, sed sees no inp
2 matches
Mail list logo