Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!husc6!cmcl2!beta!unm-la!unmvax!sandia!intvax!loucks From: loucks@intvax.UUCP (Cliff Loucks) Newsgroups: comp.sys.mac Subject: Re: Binhex section delimiters Message-ID: <278@intvax.UUCP> Date: Wed, 1-Jul-87 11:30:19 EDT Article-I.D.: intvax.278 Posted: Wed Jul 1 11:30:19 1987 Date-Received: Fri, 3-Jul-87 01:46:08 EDT References: <3977@utai.UUCP> Distribution: world Organization: Sandia National Labs, Org. 1411, Albq, NM Lines: 27 in article <3977@utai.UUCP>, dudek@utai.UUCP says: > >>Could we adopt a new standard of '::: end of part whatever :::' for >>delimiting sections of binhex. >> Following Earle R. Horton's suggestion, I now use a shell script to strip all header/trailer lines from the already concatenated file. The script is simply: cat $1 | sed -n -e '/ /d' -e '/ /d' -e '/^---$/d' -e '/./p' > $1.hqx rm $1 ^ ^ ^ ^ remove remove remove pass all lines lines lines other lines with a with a containing through to space tab only "---" the output file This is the same as Earle's, except for the deletion of lines which have a tab in them also. I've only used this since last week but it has worked so far. After running this script, I then download the file, with kermit (text), and unbinhex (hexbin?) the file on the Mac. -- Cliff Loucks ucbvax!unmvax!sandia!intvax!loucks Sandia National Labortories, Albuquerque, New Mexico