Re: Impossible redirect console buffer to log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



El sáb., 2 mar. 2019 a las 10:23, Ralph Corderoy
(<ralph@xxxxxxxxxxxxxxx>) 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 input.
> 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


>
> > https://github.com/ryanfox1985/docker-cccam/blob/master/CCcam.x86_64
>
> It's an executable, no source, no documentation to suggest what it will
> do, so I'm not going to run it.  :-)

Yes, I know.

>
> --
> Cheers, Ralph.




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux