Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!bcm!dimacs.rutgers.edu!rutgers!rochester!kodak!ispd-newsserver!dcox From: dcox@ssd.kodak.com (Don Cox (253-7121)) Newsgroups: news.software.b Subject: Recorded message Message-ID: <1991Feb5.203125.28572@ssd.kodak.com> Date: 5 Feb 91 20:31:25 GMT Sender: news@ssd.kodak.com Distribution: na Organization: Eastman Kodak Lines: 41 Originator: dcox@tweety.ssd.kodak.com System: Sun 4/260, SunOS4.0.3 Cnews w/nntp When we use to run Bnews, we were given the option of adding a recording to remind people not to post company information, etc. As I read through the Pnews script, I find: #: play recorded message set X `$sed < $tmpart -n -e '/^Newsgroups: /{' -e p -e q -e '}'` shift case $# in 0|1) ;; *) shift if $test -s ${lib}/recording ; then ng=`$echo $1 | $sed "s/,.*//"` _rec1=${lib}/`$sed -n "/^$ng/s/^.* //p" ${lib}/recording` _tmp=`$echo $ng |$sed "s/\..*//"` _rec2=${lib}/`$cat -s ${lib}/recording|$grep ${_tmp}.all|$sed "s/^.* //"` if $test -f ${_rec1} ; then $cat -s ${_rec1} fi if $test -f ${_rec2} ; then $cat -s ${_rec2} fi fi ;; esac I have the file /usr/local/lib/rn/recording present, but it is not being read. Am I interpreting the script incorrectly, or is there more to it than just having the recording file present? Thanks. -- Don Cox Phone (716) 253-7121 KMX (716) 253-7998 INTERNET dcox@ssd.kodak.com