home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / arcutil / stuff2.arc / GIVEHELP.PCH < prev    next >
Encoding:
Text File  |  1989-03-21  |  2.6 KB  |  79 lines

  1.  Patches to upgrade from Stuff 1.0 to Stuff 1.1
  2.  (see "readme.too" for details).
  3.  
  4. *** ../givehelp.c    Wed Sep 21 23:13:14 1988
  5. --- givehelp.c    Mon Oct 24 14:10:28 1988
  6. ***************
  7. *** 20,26
  8.   #define printf infomsg
  9.   #endif
  10.   printf (
  11. ! "Stuff 1.0, a public domain file finder for use with zoo, by Rahul Dhesi\n"
  12.   "Usage:  stuff pathnames ... [ conditions ... ]\n\n"
  13.   
  14.   "\"Pathnames\" are filenames/directory names, MSDOS wildcards ok.  Files are
  15. \n"
  16.  
  17. --- 20,26 -----
  18.   #define printf infomsg
  19.   #endif
  20.   printf (
  21. ! "Stuff 1.1, a public domain file finder for use with zoo, by Rahul Dhesi\n"
  22.   "Usage:  stuff pathnames ... [ conditions ... ]\n\n"
  23.   
  24.   "\"Pathnames\" are filenames/directory names, MSDOS wildcards ok.  Files are
  25. \n"
  26. ***************
  27. *** 33,39
  28.   "-mtime N         modified N days ago (+N means over N, -N means less than N
  29. )\n"
  30.   "-modified        modified since last backup (tests \"archive\" bit)\n"
  31.   "-older filename  older than specified file (false if \"filename\" not found
  32. )\n"
  33. ! "-newer filename  newer than specified file (true if \"filename\" not found)
  34. \n\n"
  35.   
  36.   "For example, to recursively list all files in /bin and /new whose name does
  37. \n"
  38.   "not contain the letter X, and which have been modified in the last two days
  39. ,\n"
  40.  
  41. --- 33,41 -----
  42.   "-mtime N         modified N days ago (+N means over N, -N means less than N
  43. )\n"
  44.   "-modified        modified since last backup (tests \"archive\" bit)\n"
  45.   "-older filename  older than specified file (false if \"filename\" not found
  46. )\n"
  47. ! "-newer filename  newer than specified file (true if \"filename\" not found)
  48. \n"
  49. ! "-response file   contents of file is interpreted as options (as on command 
  50. line)\n"
  51. ! ",                repeat last option, -name *.c -name *.h equals -name *.c ,
  52.  *.h\n\n" 
  53.   
  54.   "For example, to recursively list all files in /bin and /new whose name does
  55. \n"
  56.   "not contain the letter X, and which have been modified in the last two days
  57. ,\n"
  58. ***************
  59. *** 40,45
  60.   "and which are no more than 8 kilobytes in size, excluding all files in the\
  61. n"
  62.   "/bin/scratch subdirectory, the command is:\n\n"
  63.   "   stuff /bin /new ! -name *X* -mtime -3 -size -9 ! -name /bin/scratch*\n"
  64.   );
  65.   }
  66.   #undef printf
  67.  
  68. --- 42,50 -----
  69.   "and which are no more than 8 kilobytes in size, excluding all files in the\
  70. n"
  71.   "/bin/scratch subdirectory, the command is:\n\n"
  72.   "   stuff /bin /new ! -name *X* -mtime -3 -size -9 ! -name /bin/scratch*\n"
  73. + "or:\n"
  74. + "   stuff /bin /new -response names mtime -3 -size -9\n"
  75. + "where the file names contains \"! -name *X* , /bin/scratch*\"\n"
  76.   );
  77.   }
  78.   #undef printf
  79.