#!/bin/bash -f # # Post to the newsgroups # # newsfeed.pnl.gov does NOT have these test groups #RP="ba.test alt.test misc.test" # GRP="mit.test scruz.test" # CMD="inews -h" # # # inews -h << EOF # Newsgroups: misc.test # From: alvin@fef.com # Subject: Testing news posting # Organizaion: Ring, Inc # Reply-To: alvin@planet.fef.com # # This is a test # EOF # ^D # # for grp in $GRP do # echo "Post to $grp" # done # # end of script