🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #3835

Re: how 2 send mac binarys via unix?

#3835
From: Jeff Hallett x4-6328
Date: Thu, 31 Aug 1989 17:54
30 lines
1461 bytes
In article <950@mrsvr.UUCP> hallett@shoreland.UUCP (Jeff Hallett x4-6328) writes:
>#!/bin/csh
>#
># Script to unpackage a package saved in files of the form "name??"
>#  for Example, a package split across three files named Files01 Files02 Files03
>	awk -f /usr/saturn/hallett/Macintosh/strip-mail.awk $file >> /tmp/$1.pkg

Ooooopps!  I forgot to post the awk script.  Here it is:

-------8<---------
/^From/ {next}
/^Return-Path:/ {next}
/^Date:/ {next}
/^To:/ {next}
/^Subject:/ {next}
/^In-Reply-To:/{next}
/^$/ {next}
{print}
-------8<---------

Just save this as strip-mail.awk and fix the awk line in the unpackage
script.

Sorry for any confusion.

--
                Jeffrey A. Hallett, PET Software Engineering
                    GE Medical Systems, W641, PO Box 414
                            Milwaukee, WI  53201
          (414) 548-5163 : EMAIL -  hallett@positron.gemed.ge.com
Technical Details
Message-ID: <959@mrsvr.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!mrsvr.UUCP!shoreland.uucp!hallett
References: <1586@hjuxa.UUCP> <1514@draken.nada.kth.se> <950@mrsvr.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!mrsvr.UUCP!shoreland.uucp!hallett
From: hallett@shoreland.uucp (Jeff Hallett x4-6328)
Newsgroups: comp.sys.mac
Subject: Re: how 2 send mac binarys via unix?
Keywords: unix mac xfer
Message-ID: <959@mrsvr.UUCP>
Date: 31 Aug 89 17:54:51 GMT
References: <1586@hjuxa.UUCP> <1514@draken.nada.kth.se> <950@mrsvr.UUCP>
Sender: news@mrsvr.UUCP
Reply-To: hallett@shoreland.UUCP (Jeff Hallett x4-6328)
Organization: GE Medical Systems, Milwaukee,  WI
Lines: 30