home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1989 …il & Dave's Excellent CD / Excellent CD HFS.raw / Moof / Goodies / DTS Goodies / Obfuscated_C / 1987 / biggar.hint < prev    next >
Encoding:
Text File  |  1989-04-13  |  1.1 KB  |  33 lines  |  [TEXT/MPS ]

  1. Best Abuse of the Rules: <sdcrdcf!markb> Mark Biggar
  2.  
  3.     Mark Biggar
  4.     UNiSYS - System Development Group, Santa Monica
  5.     2525 Colorado AV MD 91-01
  6.     Santa Monica, CA
  7.     90406
  8.  
  9. Compile with:
  10.  
  11.     cc -DC="R>0" -DI="if(T)O" -DO="c=write(1,&c,1);" -DP="main(){X}"\
  12.     -DR="read(0,&c,1)" -DT="c!=015" -DW="while(C)I" -DX="char c;W" markb.c
  13.  
  14. Passes BSD and UTS lint.  At least one version of lint is thrown into
  15. an infinite loop by this entry.
  16.  
  17. Try:  ... | markb | od -c    (remember to compile as indicated above)
  18.  
  19. By changing the compile line you can make this program do anything you
  20. want.  This is a very efficient way to transfer source, though it
  21. increases the size of Makefiles.
  22.  
  23. With only slight variations, this program can be set to many uses.
  24. Consider how easy it would be to release Un*x source in this form;
  25. so what if the make files grow a little!  :-) 
  26.  
  27. One vendor's lint got hung in an infinite loop over this entry!
  28.  
  29. FYI:  We will let Mark get away with this truly sick entry this time, but 
  30.       for the future on we have placed a limit on the size of a compile line.
  31.  
  32. Also see our comment in Larry Wall's entry regarding Mark's contribution.
  33.