Path: utzoo!utgpu!watmath!watdragon!lion!bwwilson From: bwwilson@lion.waterloo.edu (Bruce Wilson) Newsgroups: comp.binaries.ibm.pc.d Subject: Script to use with combine Message-ID: <12424@watdragon.waterloo.edu> Date: 16 Mar 89 20:09:06 GMT Sender: daemon@watdragon.waterloo.edu Distribution: comp Lines: 34 Hi, Here's a little script I find very handy for grabbing stuff from c.b.i.p. Just cut it out, put it somewhere in your path and make it executable (chmod +x). -----Start of apply----- command=$1 shift while test $1 do ${command} $1 shift done -----End of apply----- Here are some examples of it's use: apply combine *.uue /* runs combine on all the .uue files */ apply 'public arc -t' *.arc /* test all the arc files */ apply combine 'moria*' 'dis*' /* runs combine on moria* then dis* */ And for those who don't know the combine script: -----cut here(beg)----- #! /bin/sh cat $* | sed '/^END/,/^BEGIN/d' | uudecode -----cut here(end)----- Have fun, bruce bruce Wilson | "what you don't spend you don't have to earn..." bwwilson@lion.waterloo.edu | from Blake (a film by Bill Mason) bruce Wilson | "what you don't spend you don't have to earn..." bwwilson@lion.waterloo.edu | from Blake (a film by Bill Mason)