home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 400-499 / ff473.lzh / CNewsSrc / cnews_src.lzh / batch / viauuxl < prev   
Text File  |  1990-01-22  |  526b  |  26 lines

  1. #! /bin/sh
  2. # Multicast transmission using uux -l.
  3. # This has not been well tested, we don't have -l.
  4.  
  5. # =()<. ${NEWSCONFIG-@<NEWSCONFIG>@}>()=
  6. . ${NEWSCONFIG-/usr/lib/news/bin/config}
  7.  
  8. PATH=$NEWSCTL/bin:$NEWSBIN/batch:$NEWSBIN:$NEWSPATH ; export PATH
  9. umask $NEWSUMASK
  10.  
  11. if test ! -r $NEWSCTL/sites.$1
  12. then
  13.     echo "$0: cannot read \`sites.$1'" >&2
  14.     exit 1
  15. fi
  16. sites="`cat $NEWSCTL/sites.$1`"
  17.  
  18. cd $NEWSARTS/out.going/$1
  19. trap 'rm -f temp ; exit 0' 0 1 2 15
  20. cat >temp
  21.  
  22. for site in $sites
  23. do
  24.     uux -r -gd -l $site!rnews '<' !temp
  25. done
  26.