home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / amiga / utility / misc / capit.rea < prev    next >
Encoding:
Text File  |  1992-11-11  |  2.0 KB  |  47 lines

  1.  
  2. Capit - by Robert Lang ⌐ EdgeWare 1991
  3. ~~~~~
  4.  
  5. Capit is a small program I wrote in very little time, with very little care,
  6. while trying to make it very little.  It simply renames files in a supplied
  7. directory so that their first letter is a capital, ie. it Capitalises.
  8.  
  9. It was written in SAS C (5.10a) on an Amiga 3000, but should work fine on
  10. AmigaDOS 1.3.  It is complete copyright by me, but I'm allowing it to be
  11. freely distributed for no more than the cost of current Megadisc or Fred Fish
  12. PD prices, and not on ANY commercial product WHATSOEVER...this includes
  13. disk magazines.  Megadisc has permission to use this program, other disk mags
  14. must apply to me for permission.
  15.  
  16. This documentation must be supplied with the program, and source is available
  17. on request.
  18.  
  19. Usage is simple, if you don't give an argument it renames all files in the
  20. current directory, if you supply a directory it renames all files in that
  21. directory....only in the one level, though, no recursive directory listings.
  22.  
  23. This is useful since I am a shell-freak and create my Topik Disks from the
  24. shell and then have to go along and rename all files to capitals to make them
  25. look nice on the workbench, but now I just type Capit and it does it for me !
  26.  
  27. Send bug reports, comments, large-spendable-australian-cash, or anything at
  28. all really (except perhaps mail-bombs) to :
  29.  
  30.             Robert Lang
  31.             P.O. Box 127
  32.             CARDIFF NSW 2285
  33.             AUSTRALIA
  34.  
  35. email until end-of-1992 : c8908461@jupiter.newcastle.edu.au
  36.  
  37. Oh, and enjoy !
  38.  
  39. (Note : I've found an interesting trick with this program.  When working,
  40. sometimes a file that is renamed is later re-checked, since obviously AmigaDOS
  41. rewrites the file information at the end of the file-list of the directory.
  42. This could be fixed by reading the directory FIRST and storing it in a list
  43. somewhere and then processing that list, but that would make the program larger
  44. than is needed.  Since my program won't rename a file with a capital letter as
  45. its first already, processing eventually stops.)
  46.  
  47.