home *** CD-ROM | disk | FTP | other *** search
- Last Updated: Fri Jul 20 13:34:01 CDT 1990
-
- The files in this directory were (mostly) written by Tom Christiansen
- <tchrist@convex.com>. If they end in ".pl", then they are not meant to
- be stand-alone programs but rather should be included either with
- #include or else with do 'foo.pl' instead. The ".1l" and ".8l" files
- are man pages. Many of these programs were presented by me at the Perl
- mini-tutorial at USENIX in Washington DC (January 90), but others here are
- far too complex for that forum, especially pstruct and cfman.
-
- MANIFEST "ls -lRF" listing of files in this directory
-
- README this file
-
- easy simple command line examples
- (simplicity itself)
-
- getline.pl subr to read lines with escaped newlines
- (shows subroutines, flow control)
-
- today parallel "cal" output
- (shows starting many pipes)
-
- xpost check where news articles are xposted
- (shows dbm files as arrays)
-
- sortbyfield subr to sort array on field N
- (shows clever way to do index sorting)
- (inspired by Randal Schwartz)
-
- getalias how do aliases expand
- nfinger preprocess finger args for aliases, mailing lists
- (both show recursive subrs, dbm files as arrays)
-
- badrhosts find +'s in ~/.rhosts files, send mail
- (shows potential for sysadmin tasks)
-
- forwmail redeliver mis-sent mail
- (shows potential for sysadmin tasks)
-
- pstruct read and write C source showing structure layouts
- pstruct.1l man page for same
-
- ctime.pl ctime lookalike in perl
-
- nlist an nlist function returning assoc array
- (shows how to pass and recv all parm types)
-
- flush.pl fflush() type subroutines by lwall
- (shows pass-by-reference on file descriptors)
-
- syslog.pl syslog(3) compatibility library
- (shows use of packages for local functions)
-
- uuhost client and server for simple program that connects
- uupath link for uuhost
- uuhostd to simple remote server who runs one of two binaries for you
- (shows how to use sockets in perl)
-
- source.pl a safe way to use do $file and get good error messages
-
- itimer.pl [sg]etitimer and alarm in perl using indirect syscall()s.
- ttimer test program for previous
-
- glob.pl package to glob in shell or regexp style, no size limits
- tglob test program for previous
-
- now-what perl replacement for /usr/local/mh/bin/whatnow
-
- statmon talk to various machines' inetds' UDP time ports. good
- examples of select, packet IPC, and writing scripts to
- take advantage of the dump operator.
- statmon.README instructions for using and porting statmon
-
- slides/ troff source for perl tutorial slides
-
- man/ directory for perl rewrite of /usr/ucb/man, friends, and foes
-
- h2pl/ directory of tools for converting *.h files to *.pl ones
-
- cbreak.pl cbreak() and cooked() subroutines
- tcbreak test program for previous
- cbreak2.pl as before but using ioctl.pl not ioctl.h
- tcbreak2 test program for previous
-
- vgrindefs.perl vgrind definitions for perl
-
- ncal front end for cal that understands the current and alpha months
- (useful if you've old cal)
-
- nw /usr/ucb/w front end that merges who output aswell
-
- dfbitch when f/s fills, mail only worst users about it
-
- convex/ convex specific scripts
- errlogd convert spu errlog into syslog as local0
- bacctsum summarize NQS acct files
- getsysinfo do getsysinfo system call
-
-