🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.admin.misc
Article #261

Re: Scanning out the "For your newsgroups file: " line

#261
From: Dr A. N. Walker
Date: Tue, 26 Jan 1993 16:04
12 lines
1029 bytes
In article <1993Jan25.070159.16581@sq.sq.com> msb@sq.sq.com (Mark Brader)
writes:
>And so it is, if you use awk rather than sed.  In new awk:
>	awk '/^For your newsgroups file:/ {getline; print; exit}'

	sed '1,/^For your newsgroups file:/d; q'

works on all the machines I have access to, and is shorter.

-- 
Andy Walker, Maths Dept., Nott'm Univ., UK.
anw@maths.nott.ac.uk
Technical Details
Message-ID: <1993Jan26.160453.10704@maths.nott.ac.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!news.mentorg.com!sdl!plts!s4mjs!bobsbox.rent.com!rutgers!princeton!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!spool.mu.edu!agate!doc.ic.ac.uk!warwick!nott-cs!piaggio!anw
References: <1jvjvpINN8mb@ftp.UU.NET> <1993Jan25.070159.16581@sq.sq.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!news.mentorg.com!sdl!plts!s4mjs!bobsbox.rent.com!rutgers!princeton!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!spool.mu.edu!agate!doc.ic.ac.uk!warwick!nott-cs!piaggio!anw
From: anw@maths.nott.ac.uk (Dr A. N. Walker)
Newsgroups: news.admin.misc
Subject: Re: Scanning out the "For your newsgroups file: " line
Message-ID: <1993Jan26.160453.10704@maths.nott.ac.uk>
Date: 26 Jan 93 16:04:53 GMT
References: <1jvjvpINN8mb@ftp.UU.NET> <1993Jan25.070159.16581@sq.sq.com>
Reply-To: anw@maths.nott.ac.uk (Dr A. N. Walker)
Organization: Maths Dept., Nott'm Univ., UK.
Lines: 12