#!/bin/csh -f # With no arguments it shows you what's been posted this month on the # archives/directories you're watching. Given a single argument # Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec it will show what # was posted in that month. If you chose to delete the raw data file # in 'ftpcheck' then you wont have this option. The shortened file, # only contains, this months stuff. You could chose not to generate # the shortend file in 'ftpcheck'. You could then use 'ftpnew [thismonth]' # to look at recent stuff. if ($?PAGER) then else set PAGER = more endif if ($1 == '') then $PAGER $FTPEXTRAS/lists/archive.dir.short else cat $FTPEXTRAS/lists/archive.dir | sed -n -e /$1'[01-9 ]*:/p' -e /SITE/p -e /directory/p -e /later/p | $PAGER endif .