Path: 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 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 }