🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #25560

Re: Correction to joiner script

#25560
From: liberte
Date: Mon, 22 Feb 1988 16:52
23 lines
886 bytes
All the seds I tried (sun and vax) seem to have a bug that prevents the
joiner script from working even with the space in '/^--- /'.  So I rewrote
the script in awk.  But I am looking forward to using hexjoin.c.

dan
liberte@a.cs.uiuc.edu
---

#! /bin/awk -f
BEGIN { inhex = 0 }
/^---/  { if (inhex && (NF > 1)) {
		inhex = 0
		}
		else {
		  inhex = 1
		  }
		getline
		}

	{ if (inhex) print $0 }

		
Technical Details
Message-ID: <600004@zaphod>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!uwvax!oddjob!hao!gatech!purdue!i.cc.purdue.edu!j.cc.purdue.edu!pur-ee!uiucdcs!uxc.cso.uiuc.edu!zaphod!liberte
References: <300@dbase.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!uwvax!oddjob!hao!gatech!purdue!i.cc.purdue.edu!j.cc.purdue.edu!pur-ee!uiucdcs!uxc.cso.uiuc.edu!zaphod!liberte
From: liberte@zaphod.ncsa.uiuc.edu
Newsgroups: comp.sys.mac
Subject: Re: Correction to joiner script
Message-ID: <600004@zaphod>
Date: 22 Feb 88 16:52:00 GMT
References: <300@dbase.UUCP>
Lines: 23
Nf-ID: #R:dbase.UUCP:300:zaphod:600004:000:403
Nf-From: zaphod.ncsa.uiuc.edu!liberte    Feb 22 10:52:00 1988