mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: Re:[PATCH v2] scripts/decodecode: fix faulting instruction no print when opps.file is DOS format
       [not found] <17adc8ce-f6b0-4337-a62b-d9a39b000b56.weidonghui@allwinnertech.com>
@ 2021-09-29  9:44 ` Borislav Petkov
  0 siblings, 0 replies; only message in thread
From: Borislav Petkov @ 2021-09-29  9:44 UTC (permalink / raw)
  To: 韦东辉; +Cc: akpm, maz, will, rabin, lkml

On Wed, Sep 29, 2021 at 10:37:07AM +0800, 韦东辉 wrote:
> HI,all Thank you Borislav Petkov for helping me add the CC email
> list. I don't quite understand the meaning of this Google link
https://stackoverflow.com/questions/12167178/replace-windows-newlines-in-a-lot-of-files-using-sed-but-it-doesnt).

> This means that decodecode does not need to process CR(^M)? Must
> ensure that there is no CR(^M) when inputting log? If so, it will
> increase the cost of learning for others. And I think adding tr -d
> "\\015" will not destroy the beauty of the code, but enhance the
> compatibility of decodecode.

You don't need to use a different tool, tr in this case, to remove the
^M character - sed can do that just fine. And that link has the answer
how, I'll let you figure it out.

Also, please do not top-post when replying but put your reply *under*
the text you're replying to, just like I did.

Thx.

-- 
Regards/Gruss,
    Boris.

SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-29  9:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <17adc8ce-f6b0-4337-a62b-d9a39b000b56.weidonghui@allwinnertech.com>
2021-09-29  9:44 ` Re:[PATCH v2] scripts/decodecode: fix faulting instruction no print when opps.file is DOS format Borislav Petkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®