Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uwm.edu!linac!att!ucbvax!ENG.UMD.EDU!ziegast From: ziegast@ENG.UMD.EDU (Eric Ziegast) Newsgroups: comp.mail.mh Subject: Re: things i'd like to be able to do at what now? Message-ID: <9104140221.AA07287@egypt.eng.umd.edu> Date: 14 Apr 91 02:21:44 GMT References: Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 20 Ed Vielmetti writes: >these should be easy, since you have all of the stuff handy to you; >appropriate hacks on the octopus book "append" script might well be >enough. > >what now? edit addheader Fcc: +outbox >what now? edit addheader cc: mh-users@ics.uci.edu >what now? edit addheader X-Zippy-Quote: Yow! >what now? edit rmheader cc: # i.e. -nocc all >what now? edit append-output grep domain.org /etc/hosts >what now? edit shell-command-on-body sed -e 's/please/pretty please/' what now? edit vi A combination of "O", "dd","!}", and ":1,$ s/please/pretty please/" would work just fine. Faster too. If you don't use vi, then maybe it might be worthwhile to create these, but I (and probably other vi users) probably won't. ________________________________________________________________________ Eric W. Ziegast, University of Merryland, Engineering Computing Services ziegast@eng.umd.edu - Eric@(301.405.3689)