🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #77707

[slrn] where did the headers go?

#77707
From: Faux_Pseudo
Date: Mon, 30 Apr 2001 02:16
31 lines
2034 bytes
I just noticed that when you tag multipul articals for saveing that
the file it creates for them dosnt contain the headers anymore!

Once and a while on of the groups I subscribe to dose floods of
On-topic posts and i used to use this script to parse them out of the
master save file

#!/bin/bash 
gawk '/^Subj/ {close(outfile);
	       outfile=$0;
	       gsub(/[ .:]/, "_", outfile);
	       gsub(/@/, "_at_", outfile);
	       gsub(/Subj__/, "", outfile);
	       gsub(/Subject__/, "", outfile);
	       gsub(/\//, "-", outfile);
	       next}
      {print >> outfile}' /home/faux/decode/Alt.*

dose anyone know of a way to get the headers to be saved without
saving each post one at a time?


-- 
--(UIN=66618055)--
--(tty1@faux.local_04:45_/home/faux)-- cat .sig
GUI's are for slackers.  ibpconf.sh 6.1 on freshmeat.net  
The easiest way to customize the command line.  By Faux_Pseudo

It's a damn poor mind that can only think of one way to spell a word.
        - Andrew Jackson
Technical Details
Message-ID: <slrn9epiko.4r.Faux_Pseudo@faux.cx936102-a>
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!newsfeed.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!enews.sgi.com!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.sdca.home.com.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <slrn9epiko.4r.Faux_Pseudo@faux.cx936102-a>
Subject: [slrn] where did the headers go?
Date: Mon, 30 Apr 2001 02:16:08 GMT
From: Faux_Pseudo@24.177.56.253 (Faux_Pseudo)
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!newsfeed.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!enews.sgi.com!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.sdca.home.com.POSTED!not-for-mail
Newsgroups: news.software.readers
Reply-To: Faux_Pseudo@yahoo.com
X-Why: are you reading this
User-Agent: slrn/0.9.7.0 (Linux)
Lines: 30
NNTP-Posting-Host: 24.177.56.253
X-Complaints-To: abuse@home.net
X-Trace: news1.rdc1.sdca.home.com 988596968 24.177.56.253 (Sun, 29 Apr 2001 19:16:08 PDT)
NNTP-Posting-Date: Sun, 29 Apr 2001 19:16:08 PDT
Organization: Excite@Home - The Leader in Broadband http://home.com/faster