Robj Utility - Front-End Scripts - libdate

Left
Right
  • Same peculiar date & time format
  • Helps create log files for scripts
  • Compatible with libq
  • setuid program for safe logging
  • Example Script: slatec.doc
 
#!/bin/csh -f
# front-end for slatec.doc - log time and user name
if ( -e /usr/local/bin/libdate ) then
  libdate -f /usr/spool/logs/slatec.log `logname`
endif
/usr/local/bin/Slatec.Doc
exit
 
Left
Right
Slide 9