home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 553.lha / listcom_v1.0 / listcom.doc.pp / listcom.doc
Text File  |  1991-09-09  |  2KB  |  49 lines

  1. ListCom       Version 1.0    Release 8.11
  2.  
  3. ListCom  is my first ever C program (besides the usual Hello World
  4. program).  I have copyrighted the source but you can change it and
  5. improve it if you wish.
  6.  
  7. ListCom stands for List Comment.  The comment is a standard AmigaDOS
  8. file comment also referred to as a file note.
  9.  
  10. I wrote ListCom because all  of the DIR and LIST replacements did not
  11. give you the choice of listing by the comment.  Now granted, many
  12. normal people probably don't need this feature, but I am not one of
  13. those people. 
  14.  
  15. I have 20+ disks filled with all of the downloads I have done in the
  16. last 4 years.  The best way to find what some "foo.lzh" file is without
  17. listing the archive (ie:lharc l foo.lzh) is to place a comment about
  18. the archive, what it does, rating the performance, does it have source,
  19. etc.
  20.  
  21. ListCom simply lists files by comment.  There is no extensive pattern
  22. matching, nor are there any switches.  If you type ListCom with a
  23. pathname, you get a list of all file entries in that dircetory with
  24. a comment attached.  If you type a path and comment, all files with
  25. comments begining with the same characters will be listed.  This is
  26. case in-sensative, ie: joe = JOE.
  27.  
  28. Examples:
  29.  
  30. ListCom ""             ;Lists current directory all files with comments
  31. ListCom t: "docs for"  ;Lists t: directory - all files with comments
  32.                         beginning with "docs for"  (ignore quotes)
  33. ListCom "" Utility     ;Lists current directory all files with comments
  34.             beginning with "utility".
  35.  
  36.  
  37. Hope this is helpful.
  38.  
  39. If anyone does have code parts to help write better patternmatching
  40. and simple switch argument parsing, please let me know where I can
  41. find source.
  42.  
  43. Enjoy! :D
  44. John Bianchi
  45.  
  46. Send Bug Reports to:
  47. CIS: 76256,3436
  48.  
  49.