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