# !/bin/sh
# Based on the /u/lib/news/active file on this site, create a tar file list of 
# the directories the news is located in on another site so this news sytem
# package can be tested out.  This utility creates a file that the "tar"
# command can utilize to bundle the news on a host site.  This is useful for
# those that don't have a news feed, but want to grab some news for testing.
# This utility was created by sscrivan@nyx.cs.du.edu (Steve Scrivano)
# To utilize this utility just type: makenewstar > filename to create a "tar"
# reference file that can be uploaded to a host site to tar bundle some news
# to download to your own site.
awk 'NR > 1' /u/lib/news/active|awk '{print $1}'|sed '/\./s//\//g'|sed '/^/s//\/spool\/news\//g'
