home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 300-399 / ff319.lzh / CNewsSrc / cnews.orig.lzh / relay / aux / mailnews < prev    next >
Text File  |  1989-06-27  |  304b  |  16 lines

  1. #! /bin/sh
  2. # send news by mail, encoded for protection
  3.  
  4. # =()<. ${NEWSCONFIG-@<NEWSCONFIG>@}>()=
  5. . ${NEWSCONFIG-/usr/lib/news/bin/config}
  6.  
  7. PATH=$NEWSCTL/bin:$NEWSBIN/batch:$NEWSBIN:$NEWSPATH ; export PATH
  8.  
  9. case $# in
  10. 0)    echo "Usage: $0 destination ..." >&2
  11.     exit 1
  12.     ;;
  13. esac
  14.  
  15. ( echo ; bencode ) | mail $*
  16.