🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Russ Allbery Thu, 21 Mar 2002 21:21
Re: Bug in sm?
#57524
Author: Russ Allbery
Date: Thu, 21 Mar 2002 21:21
28 lines
1936 bytes
Werner <werner@cubbyhole.com> writes:

> In case this hasn't been mentioned yet....

> The man page for sm states...
>      -R   If the ``-R'' flag is used, then the program shows  the
>           raw article spooled into storage method associated with
>           the token.

> However, doing an sm -R token > somefile and viewing the contents of the 
> file shows that there is now a CRLF at the end of every line, instead of 
> just the traditional LF.

Right.  That's what "raw article" means.  INN stores the articles in the
format suitable for sending them to the network socket in response to NNTP
requests.

> I've had to modify one of my program feeds to strip out the CR before 
> processing.

Why don't you just not use -R?

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads