home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!sun-barr!cs.utexas.edu!convex!convex!tchrist
- From: Tom Christiansen <tchrist@convex.COM>
- Subject: Re: .forward
- Message-ID: <1992Jul25.152416.21141@news.eng.convex.com>
- Originator: tchrist@pixel.convex.com
- Sender: usenet@news.eng.convex.com (news access account)
- Nntp-Posting-Host: pixel.convex.com
- Reply-To: tchrist@convex.COM (Tom Christiansen)
- Organization: CONVEX Realtime Development, Colorado Springs, CO
- References: <31485@adm.brl.mil> <y9fm+cq.rons@netcom.com> <MJN.92Jul25040836@pseudo.uucp>
- Date: Sat, 25 Jul 1992 15:24:16 GMT
- X-Disclaimer: This message was written by a user at CONVEX Computer
- Corp. The opinions expressed are those of the user and
- not necessarily those of CONVEX.
- Lines: 39
-
- From the keyboard of mjn@pseudo.uucp (Murray Nesbitt):
- :
- :rons@netcom.com (Ron Sires) writes:
- :
- :>ntucs73@csman.csie.ntu.edu.tw (CSIE 73 student) writes:
- :
- :>>Hi,
- :>> Is there anyone able to tell me the correct format about ".forward" file ?
- :>>
- :>> I write a line in my local .forward as following :
- :>>
- :>> "| cat >> tmp "
- :>>
- :>> But I found nothing happened. IS something wrong with it ?
- :
- :> When the .forward file is executed, there isn't a PATH variable defined.
- :> This means that UNIX doesn't know where to look for the "cat" command. Try
- :> including the full path to cat and, while you're at it, the full path to
- :> tmp, too.
- :
- :Uh...yeah.
- :
- :Unless a .forward file does something *drastically* different from
- :when I last used one, it simply forwards mail to the account[s]
- :specified in the file. Thus an appropriate entry might be:
-
- : me@someother.machine
-
- A .forward file can be used to direct things into a pipe on many systems.
- You just have to remember that you won't have any decent environment
- set up for you, like cwd or envariables.
-
- --tom
-
- --
- Tom Christiansen tchrist@convex.com convex!tchrist
-
- "The number of UNIX installations has grown to 10, with more expected."
- - _The UNIX Programmer's Manual_, Second Edition, June, 1972.
-