[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

cron job to clean out old cat pages

I'm conteplating writing a perl script to clean out cat pages
that satisfy these two conditions:

  1) There exists a corresponding nroff-source man page.
  2) The cat page hasn't been accessed for N weeks (N being a
     parameter given to the program).

I think it's basically a good idea, although I don't know how
many other Unices do such a thing.  My main problem is that, if
this becomes a standard part of the root crontab, what happens if
the user doesn't install perl?

I guess the answer for this particular script is that a do-nothing 
stub would be installed.  Ugh.

There are many projects that I'd like to do but can't imagine
writing in anything but perl.  I think perl is the perfect
language for system administration tasks -- much more powerful,
fast, and portable than sh -- but if Debian treats it as an
optional package, these scripts can't play a very central role.

I'm sorry if this has come up before, but I'd like to contribute
to Debian in any way I can.  I don't mind writing sysadmin programs,
but there's only so much I will force myself to do in sh.  


Reply to: