Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!ginosko!uunet!kddlab!titcca!sragwa!wsgw!headgw!crls02!creubank From: creubank@crls.sony.co.jp (Curtis Eubanks) Newsgroups: comp.mail.mh Subject: Help with forwarding to a shell Message-ID:Date: 26 Sep 89 01:27:58 GMT Sender: news@crls.sony.junet (Usenet News System) Distribution: comp Organization: Sony Corporation, Corporate Research Laboratories, Shinagawa, Tokyo, Japan. Lines: 18 I'm setting up a .forward file as follows: \creubank, "| /bin/sed '1,/^Do this/d'|/bin/csh" This should allow me to remotely execute a series of csh commands by simply sending a message to myself with the shell commands following a "Do this" line. I'm getting such mail returned with a "getwd: can't stat ." error. Can someone explain this? I'm running it on Sun 4. -creubank -- ----------------------------------------------------------------------------- Curtis Eubanks kddlab!crls.sony.junet!creubank@uunet.uu.net Sony Corporate Research Labs creubank%crls.sony.co.jp@uunet.uu.net Information Systems creubank@crls.sony.co.jp -----------------------------------------------------------------------------