Article View: news.software.readers
Article #54255Re: slrn/slrnpull - CR/LF at end of line
From: Tomasz Tatar
Date: Thu, 18 Nov 1999 00:00
Date: Thu, 18 Nov 1999 00:00
22 lines
1571 bytes
1571 bytes
Sylvan Butler wrote: >Probably needs recompile to use "binary" file open. Not worth it. > >I'd recommend using linux to simply strip the CR from the line endings. >This might be as simple as "tr -d '\r'" (but that will remove every CR, >not just those on line endings... usually you will be fine with that). > But tr has to be run for each file and moreover with redirecting to other file and changing name. When getting 1000 or more articles, it's a bit confusing. Does exist something like tr or sed, but working on multiple files (tr * or (better) tr news/* news/*/* news/*/*/* or (best) tr -R news)? Maybe find -exec? But it's still a bit complicated... Regards, -- Tomasz Tatar
Technical Details
Message-ID:
<TuVY3.883$_3.20289@news.tpnet.pl>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<uavY3.37002$jG2.750747@news.tpnet.pl> <slrn835o6n.71n.nospam+_no_Zs__9911@hpb13799z.zboi.hpz.com.invalid>Show Full Headers
Complete Article Headers
Message-ID: <TuVY3.883$_3.20289@news.tpnet.pl> Subject: Re: slrn/slrnpull - CR/LF at end of line Date: Thu, 18 Nov 1999 00:00:00 +0000 From: "Tomasz Tatar" <tatar@comarch.pl> References: <uavY3.37002$jG2.750747@news.tpnet.pl> <slrn835o6n.71n.nospam+_no_Zs__9911@hpb13799z.zboi.hpz.com.invalid> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 550163939 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 X-Complaints-To: abuse@tpsa.pl X-Trace: news.tpnet.pl 942941235 195.116.193.193 (Thu, 18 Nov 1999 17:07:15 MET) Organization: TPNET - http://www.tpnet.pl NNTP-Posting-Date: Thu, 18 Nov 1999 17:07:15 MET Newsgroups: news.software.readers