home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 604a.lha / TextStat_v1.10 / TextStat.doc < prev    next >
Text File  |  1992-01-05  |  3KB  |  81 lines

  1.  
  2.                                  TextStat
  3.  
  4.                                    v1.10
  5.  
  6.                      Written by Stefan Zeiger in 1991
  7.  
  8.              © 1991 by ! WIZARD WORKS ! , All Rights Reserved
  9.  
  10. I first got the idea to this program when I watched "Wheel of fortune". I
  11. thought, that in german the most common letters were E,I,A,N,D,S,T,L. And
  12. since I have many long texts in various languages on my disks (e.g. manuals
  13. for PD programs), it would be nice if I could count the frequency of the
  14. letters in a text file. So I wrote "TextStat". I also added all features of
  15. the program "wc" (word count) from the SAS/C package to make the program more
  16. useful to a greater number of people.
  17.  
  18. The program can only be started from the CLI or Shell. The command line syntax
  19. is : TextStat <filename> [-a]
  20. (You can also get this sytax by typing "TextStat ?")
  21. TextStat will give you the following information about the ASCII text specified
  22. as "filename" :
  23.  
  24. LINES            The number of lines in the text.
  25. WORDS            The number of "words" in the text. ("words" are separated
  26.             by whitespaces or linefeeds)
  27. CHARS               All characters in the text.
  28. ALPHANUMERIC CHARS  The number of alphanumeric characters in the text.
  29. ALPHABETIC CHARS    The number of alphabetic chars in the text.
  30. ASCII CHARACTERS    The number of ASCII characters in the text.
  31. PRINTABLE CHARS     Characters that can be displayed by a printer.
  32. WHITESPACES         The number of whitespace characters in the text.
  33. NON-WHITE CHARS     That's CHARS - WHITESPACES.
  34. CONTROL CHARACTERS  All characters that can be entered on the keyboard with
  35.                     the "Ctrl" key.
  36. C SYMBOL CHARS      All characters that can be interpreted as C symbol
  37.                     characters.
  38. C SYMBOL LEAD CHARS Similar to C SYMBOL CHARS.
  39. GRAPHIC CHARACTERS  The graphic characters of the extended ASCII character
  40.                     set.
  41. PUNCTUATION CHARS   Things like "." or ",".
  42. UPPER CASE CHARS    All upper-case alphabetical characters.
  43. LOWER CASE CHARS    Similar to UPPER CASE CHARS.
  44. DECIMAL DIGIT CHARS All numbers.
  45. HEX DIGIT CHARS     Numbers plus "ABCDEF".
  46. CHECKSUM        A checksum of the complete text. (Useful for checking
  47.             texts transferred via modem)
  48.             This checksum is NOT COMPATIBLE to the chacksum of "wc".
  49.  
  50. If you specify the option "-a" (always AFTER the filename !), TextStat will
  51. print 3 lists onto the screen :
  52.  
  53. 1. All (printable) characters [ASC] sorted by their ASCII numbers [DEC]
  54.    together with the number of their appearance in the text. [COUNT]
  55. 2. Same as "1.", but sorted by "COUNT".
  56. 3. All alphabetical characters (case-insensitive) sorted by "COUNT".
  57.  
  58. TextStat v1.10 was compiled using SAS/C 5.10.
  59.  
  60. This software is FREEWARE. It is copyrighted (c) 1991 by ! WIZARD WORKS !.
  61. It may be distributed for non-profit only.  No redistribution of any modified
  62. files is allowed. All files ( TextStat, TextStat.c, TextStat.Demo, LMKFile,
  63. TextStat.doc ) must be kept together. Circumvention of these terms requires
  64. the written permission of the Author (me).
  65.  
  66.     Bye,
  67.         Stefan.
  68.  
  69.  
  70. -----------------------------------------------------------------------------
  71.  
  72.   STANDARD MAIL :  ! WIZARD WORKS !
  73.            Stefan Zeiger
  74.            Seligenstaedter Weg 24
  75.            D-W-8756 Kahl
  76.            West Germany
  77.  
  78.   VOICE :       (49)-6188-2525
  79.  
  80. -----------------------------------------------------------------------------
  81.