Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site uw-beaver Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxj!houxm!vax135!cornell!uw-beaver!info-mac From: info-mac@uw-beaver Newsgroups: net.sources.mac Subject: Squeeze program Message-ID: <486@uw-beaver> Date: Wed, 23-Jan-85 18:52:40 EST Article-I.D.: uw-beave.486 Posted: Wed Jan 23 18:52:40 1985 Date-Received: Fri, 25-Jan-85 05:14:21 EST Sender: daemon@uw-beaver Organization: U of Washington Computer Science Lines: 164 From: mss%dartmouth.csnet@csnet-relay.arpa Enclosed is a compressed binhex format file of a "Squeeze File" program, which reads a text file and replaces all isolated (single) carriage returns by a space. This is useful when moving a text file onto the Macintosh for conversion to MacWrite format. The program was written by a student of mine, David Cohn, for practice but since it's done, we are letting it go to anyone who wants it. By the way, I have a number of students who are trying to learn how to program the Macintosh (with the Lisa). To help them along, I usually suggest some simple (but I hope useful) programs to write. If people have suggestions, I'll be glad to pass them on to willing students to play with. -Mark (This file must be converted with BinHex.Hex) #APPL????$2000 ***COMPRESSED ***RESOURCE FORK ( 0 ! / ,8 ( ( ( ( ( ( ( ( "X 0 ____^P$4$D%B;W5T(%-Q=65E ('IE($9I;&4 2T "\! (/____L$1FEL90=#;VUP86-T $, $M 11=6ET ( /@$! #____!!$5D:70$56YD (&\ 2T T-U= $0V]P>0 %4&%S ('1E : #( * $L <( $ !T-O (&UP86-T )21%9&ET(%9E[_ ( ?$#\\ /].N@K<+PA"IS\\ %(;O[P0J=(;?Z*3KH* (%1.7DYUQT541DE,14X %A4@0V]N=F5R="!W:&EC:"!F (&EL93\@3E;^NCU\ &3^_#U\ &[^_D'N_P!#^@!>< 4@ (-E30&[Z,)$O+O[\0>[_ !\0/SP _TZZ"FXO"$AM_I1( ('H -DAN_KH_/ "3KH*9$'N_KH?$#\\ /].N@I*+PA" (*=(;?[43KH)PDY>3G73059%1DE,10 8 3$4(%-A=F4@ (&%S('=H870@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