[comp.mail.elm] relative path names in filter

phil@ux1.cso.uiuc.edu (07/12/90)

It is possible to use relative file names in the .filter-rules if you make
sure that filter runs cd in your home or other proper directory?  I could
use the follow .forward:

"|/cso/staff/phil/.forward-csh"

and the file ".forward-csh" has:

#!/bin/csh
cd ~/.mail
exec /usr/local/bin/filter -o ../.filter-errors >>& ../.filter-stderr

and thus reference non-absolute path names relative to my ".mail"
subdirectory from the .filter-rules file.  Any reason why, such as
filter detects non-absolute path names and rejects them, that this
would not work?

--Phil Howard, KA9WGN-- | Individual CHOICE is fundamental to a free society
<phil@ux1.cso.uiuc.edu> | no matter what the particular issue is all about.