home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume26 / feedpipe / part01 / README < prev   
Encoding:
Text File  |  1991-12-14  |  1.7 KB  |  45 lines

  1. Feedpipe is a program to make processes appear as files (actually a named
  2. pipe) to other processes.  A trivial use of this would be as a random sig
  3. generator.  More useful is to make current information available as a file
  4. to processes such as UUCP.
  5.  
  6. Also included as it is used by feedpipe is my getline function.  Note this
  7. is not quite like the BSD getline.  See that file for details.
  8.  
  9. A man page is provided as feedpipe.1
  10.  
  11. Here is a sample configuration file for it which demonstrates some of the
  12. uses to which I am putting it.
  13.  
  14. ----------------------- Start of configuration file --------------------------
  15. # Configuration file for feedpipe
  16. # Written by D'Arcy J.M. Cain
  17.  
  18. # This file contains the information used by feedpipe to create files
  19.  
  20. # First the information files.  The program pubinfo is basically a cat
  21. # from a here file.  The second entry is the compressed version
  22. /usr/spool/uucppublic/pub/info/readme            uucp uucp 0644 \
  23.     /usr/lbin/pubinfo
  24. /usr/spool/uucppublic/pub/info/readme.Z            uucp uucp 0644 \
  25.     /usr/lbin/pubinfo | /usr/lbin/compress
  26.  
  27. # ls -lR of my public directories - note use of echo and date
  28. /usr/spool/uucppublic/pub/info/ls-lR.Z            uucp uucp 0644 \
  29.     (echo "ls -lR as of \c"; date; ls -lR /usr/spool/uucppublic/pub) | \
  30.     /usr/lbin/compress
  31.  
  32. # This is the UUCP clone that I am working on.  Note pa is a program that
  33. # creates a cpio archive of a directory and writes it to its stdout.  this
  34. # causes the very latest version of the source tree to be made available
  35. # to UUCP
  36. /usr/spool/uucppublic/pub/archive/uudos.CP.Z    darcy program 0644 \
  37.     cd /usr/darcy; /usr/lbin/pa uudos 2> /dev/null
  38. ------------------------- end of configuration file --------------------------
  39.  
  40. Any comments, bugs, suggestions etc welcome
  41.  
  42. D'Arcy J.M. Cain
  43. darcy@druid.UUCP
  44.  
  45.