home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / UT / UT151.ZIP / CUTZIT.DOC next >
Text File  |  1989-03-31  |  61KB  |  1,313 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.       FREEFREE    FR        EE    FREEFREE    FREEFREE    FREE    FREEFREE
  7.       FREEFREE    FR        EE       EF             EE     RE        EF   
  8.       FR          FR        EE       EF            RE      RE        EF   
  9.       FR          FR        EE       EF           FR       RE        EF   
  10.       FR          FR        EE       EF           FR       RE        EF   
  11.       FR          FR        EE       EF           FR       RE        EF   
  12.       FR          FR        EE       EF          EF        RE        EF   
  13.       FR          FR        EE       EF          EF        RE        EF   
  14.       FR          FR        EE       EF          EF        RE        EF   
  15.       FR          FR        EE       EF         EE         RE        EF   
  16.       FR          FR        EE       EF         EE         RE        EF   
  17.       FR          FR        EE       EF         EE         RE        EF   
  18.       FR          FR        EE       EF        RE          RE        EF   
  19.       FR          FR        EE       EF        RE          RE        EF   
  20.       FR          FR        EE       EF        RE          RE        EF   
  21.       FREEFREE    FREEFREEFREE       EF       FR           RE        EF   
  22.       FREEFREE    FREEFREEFREE       EF       FREEFREE    FREE       EF   
  23.  
  24.  
  25.                                         
  26.                    "CUTZIT" cuts up Files into Smaller Files
  27.  
  28.                                   Version 1.0
  29.  
  30.               \
  31.                \\                       /)
  32.                 \\                     //
  33.                  \\\                  //
  34.         __________\\\ _________     ///  ___    ___    ___    ___    ___
  35.        |           \\\\        |  ///   |   |  |   |  |   |  |   |  |   | 
  36.        |  C U T S   \\\\\ U P  |////    | F |  | I |  | L |  | E |  | S | 
  37.        |_____________\\\\\\____|///     |___|  |___|  |___|  |___|  |___|
  38.                       \\\\\\ /////
  39.                        \\\\/V///
  40.                         \//_O/\ 
  41.                        ///^\\\\\\  
  42.                      ////    \\\\\\ 
  43.                    ////        \\\\\\ 
  44.                  ////            \\\\\\
  45.             ___////                \\\\\___    
  46.            //////(                  )\\\\\\\  
  47.            |/[_]/|                  |\[_]\\| 
  48.             \////                    \\\\\/  
  49.  
  50.  
  51.  
  52.  
  53.             LUNCHWARE  - take a friend to Lunch and give them a copy
  54.  
  55.                       There is NO CHARGE for this program
  56.  
  57.                    There is NO REGISTRATION FEE of any kind
  58.  
  59.                          Copyright 1989 by David Roper
  60.  
  61.  
  62.                                                                PAGE 1
  63.         
  64.                                     CUTZIT
  65.                    "a utility to Cut up files in many ways"
  66.                         Copyright 1989, by David Roper
  67.  
  68.         You may not NEED to read this manual in order to run CUTZIT, 
  69.         but since everybody wants a manual, here it is.  Free.
  70.  
  71.         The purpose of CUTZIT is to be able to cut up any file into 
  72.         smaller pieces as you wish .  Sometimes large files are harder 
  73.         to manipulate - even if your application CAN handle it. 
  74.  
  75.         CUTZIT is great for word processor files.  It can slice and 
  76.         cut up an ASCII data base, too.  You know the kind, they are 
  77.         delimited by a Carriage Return and LineFeed (Hex 0D,0A). 
  78.  
  79.         CUTZIT can split a large BINARY file (without CR,LF's), like a
  80.         dBASE III data file or a Display Write file, into smaller files 
  81.         so that you can put them on 360K disks and send them through 
  82.         the mail to someone.  When they arrive, they can be combined 
  83.         (back) into a large file, once again, so they can be used.  If 
  84.         you've ever tried to send someone a large, 2 Megabyte file 
  85.         using 360K disks, you will appreciate this feature.  Sometimes, 
  86.         even ARC-ed files are not small enough.  Cut them with CUTZIT.
  87.  
  88.         There are 2 screens with menu options for you to select. The 
  89.         first menu screen you see has a "Clock" on it and I shall refer 
  90.         to it as the "CLOCK" menu.  If you press the enter key without 
  91.         selecting one of the menu options, you will get "more" options.  
  92.         I shall call this 2nd screen the "MORE" options menu.  Press 
  93.         Enter again and you'll return to the "CLOCK" menu.  Easy.
  94.  
  95.         For those of you with a COLOR Monitor, you can set the colors   
  96.         that you want to use by pressing ALT C at either of the two 
  97.         MENU screens, then, just follow the instructions. 
  98.  
  99.         Throughout the program, try to keep a few things in mind.  
  100.         Cutzit "will not stomp" over any files that exist.  I wanted 
  101.         your "originals" to remain safely intact.  Sometimes, when 
  102.         CUTZIT is CREATING smaller files for you, the numbers, 1 to 
  103.         999, will be used for extensions.  And, lastly, pressing ENTER 
  104.         when you don't know what to enter for an answer will either 
  105.         "get out" of that feature or use a Default value.  Again, don't 
  106.         be scared to try a feature.  Nothing will happen to the original. 
  107.  
  108.         There's 3 commands that will make life easier for the beginner: 
  109.         PRINT, RENAME, and APPEND.  They are found on the MORE options 
  110.         menu.  They won't impress computer users.  I was just trying to 
  111.         think of the beginner who will have all these small files with 
  112.         numbers for extensions  -  what do they do then ???  
  113.         
  114.         Anyone can use and distribute "CUTZIT" and "CUTZIT.DOC" so long 
  115.         as they don't charge other than the customary copying charges 
  116.         of less than $10.  New versions are available from wherever you 
  117.         got this version.  None are available from me - Please don't ask.
  118.  
  119.          
  120.  
  121.         CUTZIT                 TABLE OF CONTENTS               PAGE 2
  122.         ---------------------------------------------------------------  
  123.  
  124.  
  125.  
  126.  
  127.         MENU  KEY          AS IT APPEARS ON THE SCREEN         PAGE
  128.        ====== === ============================================ ====
  129.  
  130.         CLOCK  H  Help...........................................3
  131.         CLOCK  N  Number of files, you select....................4
  132.         CLOCK  L  Lines per file, you select.....................5
  133.         CLOCK  S  Select the Size for all to be..................6
  134.         CLOCK  W  Whenever a phrase occurs.......................7
  135.         CLOCK  I  Inspect and save what you want to..............8
  136.         CLOCK  M  Merge a file into another file.................9
  137.         CLOCK  B  Binary File cut into sizes/ratios.............10
  138.         CLOCK  V  Vertical cuts from ASCII files................11
  139.         CLOCK  P  PAD records with a character on the right.....12
  140.         CLOCK  F  Features List.................................13
  141.         Both   Q  Quit using CUTZIT.............................14
  142.         MORE   A  Append one file to another....................15
  143.         MORE   R  Rename a file to have a NEW name..............16
  144.         MORE   G  Glue Two files Together, Side by Side.........17
  145.         MORE   H  How many Bytes in file, ASCII or BINARY.......18
  146.         MORE   L  Line Length test of ASCII files...............19
  147.         MORE   C  Check whether the file is ASCII or BINARY.....20
  148.         MORE   E  Extract a BASIC program from an ASCII file....21
  149.         MORE   V  View  File on the Monitor.....................22
  150.         MORE   P  Print a File to the Printer...................23
  151.         MORE   S  Search a File to Replace a word...............24
  152.         MORE   W  When a Field changes, make a New File.........25
  153.         MORE   D  Data Range Must be Passed to Keep Record......26
  154.         MORE   T  Trim Characters from Right Side of Record.....27
  155.           -    -  Version History...............................28
  156.  
  157.   
  158.  
  159.                                       Help
  160.         CLOCK  H                                               PAGE 3 
  161.         ---------------------------------------------------------------  
  162.         
  163.         PURPOSE:   This screen provides reminders to the user.
  164.                    #1 Reminder is that CUTZIT won't hurt your original 
  165.         file, and that Numbers 1 - 999 will be used if CUTZIT creates 
  166.         smaller files for you automatically.  
  167.  
  168.         Do NOT try to cut a BINARY FILE using the ASCII FILE cutting 
  169.         functions.  I have tried to check for this occurence, but 
  170.         Murphy lives and I may have missed one.  
  171.  
  172.         Still, nothing will harm your original file....
  173.         
  174.         ASCII vs. BINARY can be easily and quickly checked using the
  175.         Checking function on the MORE menu (second menu, item C). 
  176.  
  177.         The A and B under the Title of each page in the Manual signify 
  178.         whether the function is to be for Ascii or Binary or both (AB).
  179.  
  180.         A shortcut for writing "x" number of ASCII characters while in 
  181.         Vertical Cuts, is (x,n).  For instance, if you wanted 22 dots 
  182.         as a filler, then (22,43) would do it instead of keying in the 
  183.         twenty-two dots like this:  "......................" 
  184.         
  185.         The 22 is "how many" and the 43 is the decimal ASCII value for 
  186.         the dot or period (.)  It is similar to BASIC's STRING$( , ) 
  187.  
  188.         You MUST use the left parenthesis, the right parenthesis, and 
  189.         the comma in the middle for this "shortcut" to work.
  190.  
  191.         When entering numbers, you can use "K" or "k" for 1000.  In 
  192.         other words, 3K is as good as 3000 or 3,000.  Yes, you can use 
  193.         a comma, too, if you in the habit.  Computer people don't use 
  194.         commas most of the time, but secretaries and bosses DO.  
  195.         
  196.         So we have 3K, 3k, 3000, and 3,000 all equivalent. 
  197.         You can even say 4.5K for 4,500.  How 'bout that?  Big deal!
  198.  
  199.         Also see:  FEATURES (CLOCK F)
  200.                    
  201.         "I can't find what I want to do!  I want to be able to..."
  202.  
  203.         Find a word in a file...see pages 8, 22, 24
  204.         Count Lines in a file...see page 19
  205.         Backup Large files to 360K disks....see page 10
  206.         Separate Records in a file....see pages 5, 7, 25, 26
  207.         Use EPI-INFO data....see page 26
  208.         Filter Records with a range Value....see page 26
  209.         Save records between 2 dates....see page 26
  210.         Fill-in to make all records a certain size....see page 12
  211.         Cut records to a certain size.....see page 11
  212.         Cut a subroutine out of a BASIC program...see page 21
  213.         See whether any lines are over 70 characters long...see page 19
  214.         Put two fields side by side to create new file...see page 17
  215.         Trim excess spaces from the right side of records...see page 27
  216.   
  217.         
  218.                       Number Of Files, You Select How Many
  219.         CLOCK  N                       A                       PAGE 4 
  220.         ---------------------------------------------------------------  
  221.         
  222.         PURPOSE:    You can select HOW MANY FILES to make.  It does the 
  223.                     rest.  
  224.         
  225.         You select a number, such as 3.  CUTZIT will then do the math 
  226.         to decide how many lines of text to put in each file without 
  227.         exceeding that calculated number.  The last file will have to 
  228.         catch what remains. 
  229.  
  230.         Since we are working with ASCII files which have uneven lengths 
  231.         of text on each line, it is "impossible" to cut precisely in 
  232.         the middle of the line, just to make the math correct.  It 
  233.         could have been done that way, but who wants a sentence or a 
  234.         word cut in the middle....with the other half of the word or 
  235.         sentence in another file? 
  236.  
  237.         If you want it cut precisely, then use Binary cuts (CLOCK B) 
  238.         and select RATIO and input something like  1:1:1  which will 
  239.         cut into thirds, etc.  A reminder though, each file's last 
  240.         sentence will be probably cut in the middle of a word...so big 
  241.         deal, do it over.  
  242.         
  243.         CUTZIT doesn't harm your original, so you can CUTZIT all day 
  244.         long if you wish. 
  245.         
  246.         You will finish with 3 files (if you choose 3!) which will be 
  247.         named Huey, Dewey and Louie -- sorry -- 
  248.         which will have extensions of ".1", ".2", and ".3".  These 
  249.         three are in order of their creation.  ".1" will be the first, 
  250.         etc. 
  251.  
  252.         The file name will be shortened (if needed) and a dash "-" will 
  253.         be the first character of the name.  Examples:  MYFILE.DOC will 
  254.         become -MYFILE.1, -MYFILE.2, and -MYFILE.3
  255.  
  256.         Another example, using a long, 8 character name:  HAULDIRT.TXT 
  257.         will become -HAULDIR.1, -HAULDIR.2, and -HAULDIR.3 
  258.  
  259.         Did you notice that DIRT became DIR?  Remember, your original 
  260.         file is not hurt.  The dashes are to help you find the new 
  261.         files when you do a DIRectory.  You can rename them later, if 
  262.         you wish. 
  263.                                                   
  264.  
  265.  
  266.  
  267.                            Lines Per File, You Select 
  268.         CLOCK  L                       A                        PAGE 5
  269.         ---------------------------------------------------------------  
  270.         PURPOSE:   You can select HOW MANY LINES go into each and every 
  271.                    file that is made.  Each file can have the SAME 
  272.         number of lines in it, OR, you can select different numbers of 
  273.         lines to go into each individual file made.  
  274.         
  275.         Each file created will get the "1 - 999" number extension 
  276.         already discussed ad nauseum. 
  277.  
  278.         If the file called "MYMEMOS.TXT" is 200 lines long and you 
  279.         select 60 as the number of lines to be in each file, obviously 
  280.         you can get only three files made with 60 lines in each.  The 
  281.         fourth file will get the remainder.  In this case it would get 
  282.         the last 20 lines. 
  283.  
  284.         Here's the Math ---
  285.  
  286.         200 /  60 = 3.333 , so we will make three files with 60 lines 
  287.         each, for a total of 180 lines.  That leaves 20 lines to go 
  288.         into the fourth file because 200 - 180 = 20 . 
  289.  
  290.         The important thing here is that EACH file will get the number 
  291.         of lines you requested it to have.  Each file will be different 
  292.         in size (bytes), naturally, because we are counting lines, not 
  293.         bytes. 
  294.         
  295.         The LAST FILE created (with the highest extension number!) will 
  296.         contain the smallest number of lines.  In other words it gets 
  297.         "what's left over" after all the files that Can be made, ARE 
  298.         made.
  299.         
  300.         You will get four files made for you:
  301.  
  302.         -MYMEMOS.1  with 60 lines in it
  303.         -MYMEMOS.2  with 60 lines in it
  304.         -MYMEMOS.3  with 60 lines in it
  305.         -MYMEMOS.4  with 20 lines in it
  306.  
  307.         Since "MYMEMOS" is 7 characters long, a dash was simply added 
  308.         to the beginning.  No letters (characters) had to be dropped at 
  309.         the right side of the word.
  310.            
  311.  
  312.         
  313.                          Select The Size For All To Be
  314.         CLOCK S                        A                       PAGE 6   
  315.         ---------------------------------------------------------------  
  316.         PURPOSE:   This is a twist on the previous two options.  You 
  317.                    will select HOW MANY bytes to go into each and every 
  318.         file and CUTZIT will make files with that many bytes OR LESS.
  319.  
  320.         The size of the file that you select will actually be the 
  321.         Maximum size allowed.  Remember, we are using lines of text 
  322.         and we don't want to break a line or word in the middle of 
  323.         itself.  
  324.  
  325.         If you select 2K as the size to make from a file that is 10,000 
  326.         bytes long, then CUTZIT will produce 5 or 6 files.  Probably, 
  327.         it will be six (6) files because each file will be a MAXIMUM of 
  328.         2,000 bytes depending on where the lines end.  
  329.  
  330.         In fact, they would all have to be EXACTLY 2,000 bytes each 
  331.         (unlikely) to create only 5 files.
  332.  
  333.         So, each file will probably be of a different length, but all 
  334.         of them will be 2,000 bytes or LESS. 
  335.  
  336.         HINT: If you are wanting each file to be EXACTLY 2,000 bytes, 
  337.         no more, no less, then you need to cut it up using the Binary 
  338.         Cut option,  CLOCK B, page 10 in this manual.  Your sentences 
  339.         will be chopped wherever they need to be in order to make each 
  340.         file EXACTLY 2000 bytes in length.  
  341.         
  342.         If you're using text and ASCII files, you probably DON'T want 
  343.         to cut it using the Binary Cut option. 
  344.  
  345.  
  346.         
  347.                             Whenever A Phrase Occurs
  348.         CLOCK W                        A                       PAGE 7 
  349.         ---------------------------------------------------------------  
  350.         PURPOSE:   The operative word here is "WHENEVER."   CUTZIT will 
  351.                    begin to make a new file (with the number extensions) 
  352.         everytime/whenever a particular Word or Phrase is found.  
  353.  
  354.         If you have a 100,000 byte short story with chapters marked 
  355.         in it like this:  "CHAPTER ** 1 **", "CHAPTER ** 2 **", 
  356.         "CHAPTER ** 3 **", "CHAPTER ** 4 **", "CHAPTER ** 5 **", etc., 
  357.         then this is for you.
  358.         
  359.         With this option, you can tell CUTZIT to "read your story" and 
  360.         when it finds the words "CHAPTER ** ", begin to make a new file 
  361.         and put that chapter of your story into a new file.  You would 
  362.         create a new file for each chapter it reads.
  363.         
  364.         However, if you wanted to break the story into only two parts, 
  365.         specifically beginning with the 6th chapter, then tell CUTZIT 
  366.         that the words to find are "CHAPTER ** 6 **" and you will get 
  367.         two files.  The first file will be the first 5 chapters and the 
  368.         second will be chapters 6 thru the End 
  369.         
  370.         The word to find must be an exact match.  Upper and Lower case 
  371.         must match.  "CAT" is not "cat" is not "Cat",etc.  And the 
  372.         match must be performed on one line of text.  The phrase cannot 
  373.         be found if it wraps around to the next line.  
  374.  
  375.         Another use of this which I use is to separate SIGS on captured 
  376.         LOG sessions from Compuserve.  After an hour or two, I end up 
  377.         with a 200K file that I cannot handle easily.
  378.         
  379.         Everytime I change SIGS, I get the phrase "....last time you 
  380.         were on..." so that's what MY Phrase/Word is,  and I get EACH 
  381.         SIG in a different file.                   
  382.  
  383.         Then I can easily look in the ones that I want.
  384.         
  385.  
  386.  
  387.                        Inspect And Save What You Want To
  388.         CLOCK I                        A                       PAGE 8 
  389.         ---------------------------------------------------------------  
  390.         PURPOSE:   Have you ever wanted to look at a file line by line 
  391.                    keeping some lines and throwing away others?  This 
  392.         option allows you to do that very thing. 
  393.         
  394.         It can help you find a word in a sentence if you ask it to.
  395.         If the word (or phrase) is found, a blinking star (*) will 
  396.         appear at the beginning of the line. 
  397.  
  398.         When you begin looking at the file on the screen, you will see 
  399.         the helping words at the bottom.  Nobody wants to have to 
  400.         remember them so they are put at the bottom each screen.
  401.  
  402.         If you want to Skip a line, do so by pressing "S" for Skip a 
  403.         line.  The top line will be colored as a marker for you.  Once 
  404.         you've skipped it, you cannot go back.  Sorry, Dorothy. 
  405.         
  406.         When you want to Keep a line, press ENTER, and it disappears 
  407.         from the screen indicating that it went to the file to be 
  408.         kept.  At the bottom of the screen there is a symbol for the 
  409.         Enter key.  It looks like this:  <--' 
  410.          
  411.         The Enter key keeps the Top-most line (if it hasn't been skipped 
  412.         yet!)  
  413.         
  414.         Remember, NOTHING EVER HAPPENS TO YOUR ORIGINAL, so you can run 
  415.         this feature on the same file the next day, over and over. 
  416.         
  417.         If you want to Keep all the remaining lines in the file, 
  418.         press the "K" for Keep Remaining.  After all, you may just be 
  419.         trying to throw away the trash at the beginning of the 
  420.         file...after you have done that, Keep the Remaining without 
  421.         having to look at them. 
  422.         
  423.         If you want to keep all the lines currently showing on the 
  424.         screen, press the SPACE BAR.  If you have "Skipped" any lines, 
  425.         then, of course, they won't be saved.  Just the ones remaining 
  426.         uncolored will be kept.  The SPACE BAR is a convenient way of 
  427.         keeping as many as 24 lines at a time if the screen is full.  
  428.  
  429.         When you are tired of looking at the file, press Q to quit.  
  430.         The session will be over and you will not get to inspect the 
  431.         rest of the file.  Whatever you have saved will be okay.
  432.  
  433.         If you have selected all the lines that you want from the 
  434.         screen, you MAY want to get a fresh screen full.  Press "N" for 
  435.         "None on the screen look good to me" and you will get a fresh 
  436.         new batch of lines to pick over and choose FROM.  
  437.         
  438.         A preposition is a bad word to end a sentence WITH.  Oops....
  439.  
  440.  
  441.  
  442.                          Merge A File Into Another File
  443.         CLOCK M                        A                       PAGE 9
  444.         ---------------------------------------------------------------  
  445.         PURPOSE:   This option will combine two files by placing the 
  446.                    second file into the first file at any place that 
  447.         you have marked beforehand.
  448.         
  449.         Suppose you have a small, two page story that you want to make 
  450.         references to, so you want to include it in your large, annual 
  451.         report.  Let CUTZIT do this for you.  Automatically. 
  452.  
  453.         Go into your first file, the report,  at the point where you 
  454.         want to bring in the second file, the story.  Place a word (12 
  455.         characters or less) there, which is STRANGE or UNIQUE and which 
  456.         doesn't exist anywhere else in the report file.  I always use 
  457.         "$$$$$$$$" because that word would never exist normally. 
  458.         
  459.         Put the word (like "$$$$$$$$") on a separate line, by itself. 
  460.            (Actually, you know you can invent your OWN word to use.)
  461.         
  462.         When you choose this option, simply tell CUTZIT what the 
  463.         STRANGE word is - (like "$$$$$$$$") - be sure to make it 
  464.         UNIQUE enough that it can't be found anywhere else in your 
  465.         report accidentally.  
  466.         
  467.         Then you will be asked the question, "Keep it (y/N)?"
  468.  
  469.         If you press Enter (alone) or press N, then the line with 
  470.         "$$$$$$$$" on it will not be kept and it will not be 
  471.         transferred to your newly formed file.  Then you will not have 
  472.         to use your word processor to delete it. 
  473.         
  474.         CUTZIT will bring the second file into the first when it sees 
  475.         the "$$$$$$$$" and then it will finish copying the rest of the 
  476.         first file for you.  You have "Automatic Merge."  
  477.         
  478.         Of course, if you already have a STRANGE or UNIQUE word in the 
  479.         first file, you don't need to invent one.  Use it.  And tell 
  480.         CUTZIT to KEEP the line containing it (a "Y"es answer to the 
  481.         question, "KEEP IT?" ).  This way is even easier, but it's hard 
  482.         to have a UNIQUE WORD exactly where you want it unless you have 
  483.         put it there previously. 
  484.  
  485.         
  486.                        Binary File Cut Into Sizes/Ratios
  487.         CLOCK B                        AB                      PAGE 10
  488.         ---------------------------------------------------------------  
  489.         PURPOSE:   This will cut ANY FILE into any smaller sizes.
  490.                    NOT ALL FILES ARE TEXT FILES THAT END IN CR,LF. 
  491.         (CR is Carriage Return.  LF is Line Feed.)  This special "CUT"
  492.         will allow you to create smaller files from Large files.  They 
  493.         can be put back together later by DOS - back into a whole file 
  494.         once again.  
  495.  
  496.         If you have ever had a large file that would not fit onto a 
  497.         single diskette, you'll like this.  Sometimes, even ARCed files 
  498.         won't fit onto just one 360K diskette.  
  499.         
  500.         You could use DOS' BACKUP and RESTORE, but the other person had 
  501.         better be using the same version of DOS or you're out of luck! 
  502.  
  503.         One way to cut up a Binary file is to tell CUTZIT how many 
  504.         bytes to put into each file created.  CUTZIT will keep a 
  505.         balance for you as you work, so put away your calculator. 
  506.  
  507.         You decide on the precision of the sizes because you determine 
  508.         the size of the smallest part copied.  Files will be created 
  509.         using CLUSTERS, or CLUMPS of bytes.  (My name for them,-- you 
  510.         won't find it in any DOS book.) If you want the CLUSTER size to 
  511.         be 1 byte, each file can be made exactly as big as you want - 
  512.         to the exact, very byte, but it will take longer to create the 
  513.         files.  If you make the CLUSTER size = 1000 bytes then the file 
  514.         sizes will be multiples of 1000 bytes (44000, 360000, etc.) 
  515.         
  516.         You can make up to 20 smaller files from one large file.  If 
  517.         they aren't small enough, simply run it again and break up the 
  518.         smaller files still smaller.  Using this technique, you can 
  519.         strip the header information from DBASE III files, etc. 
  520.  
  521.         OR - you may cut up your file using a simple, RATIO technique. 
  522.  
  523.         What is a Ratio?  A Ratio is "numbers that relate to each other 
  524.         and represent the whole item."   My definition, not Webster's. 
  525.  
  526.         A ratio is like 1:1, pronounced "one to one."  It means there 
  527.         are two parts (1+1) and both are equal.  Each part is 50%.
  528.  
  529.         If the ratio is 1:2:4, then there are 7 parts (1+2+4) with the 
  530.         first part = 1/7th, the second part = 2/7ths, and the third 
  531.         part = 4/7ths.  Since 1/7th is 14%, 2/7ths is 29% and 4/7ths is 
  532.         57%, if your File were 10000 bytes, you would get three files: 
  533.         Approximately 1400 bytes, 2900 bytes and 5700 bytes.  Actual 
  534.         sizes depends on the CLUSTER size you picked, but they all will 
  535.         total 10,000 bytes. 
  536.  
  537.         You can use any of four separators - ":" or ";" or "," or "-"
  538.         You can use 1-2-4 or 1:2:4 or 1,2,4 or 1;2;4 or 1,2;4, etc.
  539.  
  540.         Use DOS' COPY to put them back together - and use the /B switch. 
  541.         See the section on APPEND, page 15 of this manual.
  542.  
  543.         
  544.                          Vertical Cuts From ASCII Files
  545.         CLOCK V                        A                       PAGE 11
  546.         ---------------------------------------------------------------  
  547.         PURPOSE:   This cuts fields out of records.  This is the most 
  548.                    difficult to explain.  Think of using your scissors 
  549.         to cut Vertically on a file.  This feature will be used mostly 
  550.         on ASCII Data files where each record is delimited by CR,LF. 
  551.  
  552.         NOTE: The opposite of this CLOCK V funtion is MORE G, which is 
  553.         Gluing two fields back together into one record.  See page 17 
  554.         for information on Gluing. 
  555.  
  556.         You cannot cut but 10 fields out at one time.  
  557.  
  558.         If you wish, there can be a "filling" put between the fields.
  559.  
  560.         For example, if one field was the Names of people (byte 1 to 
  561.         11) and the other field was their phone number (byte 22 to 29), 
  562.         it might look like this BEFORE the 2 CUTS: 
  563.  
  564.         DAVID ROPERFATHERBLUE765-4321GARNERNC27611
  565.  
  566.         After the Cut and without a filling, it looks like this:
  567.  
  568.         DAVID ROPER765-4321
  569.  
  570.         With a "Filling" of 22 dots, it would expand to look like this:
  571.  
  572.         DAVID ROPER......................765-4321
  573.  
  574.         (You decide whether a filling gets added or not.)
  575.  
  576.         If you are cutting a file vertically, you had better make sure 
  577.         there is something to cut where you specify.  If you tell 
  578.         CUTZIT to cut from byte position 34 to 55 and a record slips in 
  579.         that is only 25 bytes long - we got trouble.  CUTZIT cannot 
  580.         cut Air.  CUTZIT cannot cut if there is NOTHING to cut. 
  581.         How can you cut a section of bytes from 34 to 55 on a record 
  582.         whose length is only 25?  You cannot. 
  583.         
  584.         Hint: Use the PAD feature of CUTZIT, see the next section 
  585.         following this one, PAD with blanks out to 55, and then come 
  586.         back here and try again. 
  587.  
  588.         If you are cutting just ONE field, from byte 1 to byte 69, and 
  589.         a record slips in that is only 25 bytes long, no problem.  
  590.         Here's why there's NO trouble with this and the paragraph above 
  591.         said "we got trouble" when we cut from byte 34 to byte 55. 
  592.         
  593.         IF you specify the starting byte to be 1 (and note that it 
  594.         must start at position #1) AND IF you are cutting ONLY ONE 
  595.         field, then CUTZIT figures you are just making sure that NO 
  596.         LINES ARE LONGER THAN 69 (in this example) and everything is 
  597.         okay no matter what line sizes are encountered. 
  598.         
  599.  
  600.         
  601.                    PAD Records With A Character On The Right
  602.         CLOCK P                       A                        PAGE 12
  603.         ---------------------------------------------------------------  
  604.         PURPOSE:   Select this to insure that all of your lines of text 
  605.                    or lines of records are at LEAST a Certain size.  
  606.         You can select what character to pad with.  I know, the 
  607.         preposition again. 
  608.  
  609.         Tell CUTZIT what size to make each record.
  610.  
  611.         Tell CUTZIT what character with which to PAD.  (...no prep!)
  612.  
  613.         The Padding Character is added to the RIGHT side of each line, 
  614.         as many as it takes to fill it out.
  615.  
  616.         You can enter the Pad character in three ways:
  617.  
  618.         1 - Just enter the character itself (one character, no more)
  619.         
  620.         2 - Enter the HEXidecimal value of the ASCII character, 
  621.             00 to FF (two characters indicate HEX to CUTZIT here)
  622.         
  623.         3 - Enter the decimal value of the ASCII character, 000 to 255 
  624.             (three numbers indicate the use of DECIMAL to CUTZIT here)
  625.  
  626.         The ASCII value of the period  (.) is 046 or 2E (hex).
  627.         
  628.         If you wanted a period to be the padding character, you would 
  629.         enter either 046 or 2E or the period (.) itself. 
  630.  
  631.         (Let's look again, if you enter just two characters like 46, 
  632.         you get HEX values, and HEX 46 is "F".  Enter 046, three 
  633.         characters, for DECIMAL Forty-Six.)
  634.  
  635.         If you just press ENTER, then a Space will be the Padding 
  636.         Character, eliminating any need to know that the space is 
  637.         ASCII 032 decimal, or 20 HEX.  
  638.         
  639.         Who am I kidding, if you're PADDING, you already know what 
  640.         value a space is, don't you? 
  641.  
  642.         
  643.                                  Features List
  644.         CLOCK F                                                PAGE 13
  645.         ---------------------------------------------------------------  
  646.         PURPOSE:   A quick reminder of some of the features of CUTZIT.
  647.  
  648.         CUTZIT--
  649.  
  650.         --Cuts ASCII files into a Specified Number of files 
  651.         --Cuts ASCII files into Specifed Sizes or Lengths 
  652.         --Cuts ASCII files into a Specified Number of Lines 
  653.         --Cuts ASCII files Whenever a Phrase or Word occurs 
  654.         --Cuts ANY file, ASCII or BINARY, by the use of a Ratio 
  655.         --Cuts ANY file, ASCII or BINARY, into smaller, specified Sizes 
  656.         --Cuts Vertical Strips (fields) out of ASCII files
  657.         --Glues the Vertical strips (fields) together, side by side 
  658.         --Tests to see whether a file is Binary or ASCII 
  659.         --Finds, then Removes (and/or Replaces) TEXT automatically 
  660.         --Makes new ASCII files from selected lines, Throwing away others
  661.         --Makes a new file everytime DATA changes in a specified Field  
  662.         --Whenever a specified Field contains specified DATA  
  663.         --Merges one ASCII file Into another ASCII file at any Spot  
  664.         --Extracts BASIC program listings from Inside ASCII files 
  665.         --Counts and Compares lines, lengths, statistics, etc. 
  666.         --Pads ASCII Records on the right to make fixed lengths 
  667.         --Trims Characters from the right side of ASCII Records
  668.         --Views ASCII files on screen without DOS syntax  
  669.         --Append one file to another to make a third file 
  670.         --Prints ASCII file to printer without DOS syntax 
  671.         --Performs Rename without DOS syntax 
  672.         --Compares Ranges to Data and keeps those records that pass 
  673.         --AND, best of all, CUTZIT is very affordable.  It's FREE!  
  674.         
  675.  
  676.         
  677.                                Quit Using CUTZIT
  678.         CLOCK Q and MORE Q                                     PAGE 14
  679.         ---------------------------------------------------------------  
  680.         PURPOSE:   The proper way to leave the services of CUTZIT.
  681.  
  682.         If you have a habit of using the ESCape key to "get out", then 
  683.         you don't have to change your habit.  ESCape works, too.  It's 
  684.         just not there on the MENU.
  685.  
  686.         If you want to SHELL out to DOS, you can do so at either MENU 
  687.         with an ALT S command.  It's not there in the MENU because most 
  688.         of you don't need to be SHELLing out.  It's dangerous and it 
  689.         doesn't work on everybody's DOS version.  Don't write me if 
  690.         you have problems on your machine.  You're not going to hit ALT 
  691.         and S unless it's deliberate.  Don't worry.  Just don't use it. 
  692.  
  693.         "Lunchware" will be explained to you.  Get on the phone.  Call 
  694.          a friend you haven't seen in a long time.
  695.         
  696.         My Name and Address will appear if you need to send me a BUG 
  697.         REPORT, a complaint, an idea for a new feature, or maybe, even, 
  698.         a postcard to tell me you like it (naw, that'll never happen). 
  699.                 
  700.                                     Thanks.
  701.  
  702.  
  703.         
  704.                         Append One File To Another File
  705.         MORE A                         A                       PAGE 15
  706.         ---------------------------------------------------------------  
  707.         PURPOSE:   This will take one ASCII file and join another to   
  708.                    the end of it.  A third file will be created.
  709.         It will have a different name from the other two files.
  710.  
  711.         Again, your Originals will not be changed or appended to.
  712.  
  713.         You CANNOT join two Binary files using CUTZIT.  Don't try.
  714.  
  715.         If you have used CUTZIT's BINARY CUT, you cannot use this MENU 
  716.         item here to combine files that you made.  You must use DOS.
  717.  
  718.  
  719.         For those of you who would RATHER use DOS, read on....
  720.  
  721.  
  722.                       Using pure DOS on ASCII files, it's:    
  723.  
  724.                              COPY FILE1+FILE2 FILE3  
  725.  
  726.         and that will make a large FILE3 from two small files, 1 and 2
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.                       Using pure DOS on BINARY files, it's
  734.  
  735.                            COPY /B FILE1+FILE2 FILE3 
  736.                                 ~~
  737.         Note, this is how you will put back together files made using 
  738.         CUTZIT's BINARY CUT feature.
  739.  
  740.                    The /B switch is for copying Binary files.  
  741.                Important to use, because ASCII 26 might be inside 
  742.           one of the files, and the /B switch ignores this EOF marker. 
  743.  
  744.                   The / indicates the use of a special switch
  745.  
  746.                ------ Read your DOS manual for more help. ------
  747.  
  748.  
  749.         
  750.                         RENAME A File To Have A NEW Name
  751.         MORE R                         AB                      PAGE 16
  752.         ---------------------------------------------------------------  
  753.         PURPOSE:   Another DOS command is RENAME.  Here's a menu driven 
  754.                    way to do the same thing.  You can take an old name 
  755.         and change it to a new name WITHOUT having to leave CUTZIT.
  756.         
  757.         This feature will work on any file, BINARY or ASCII.
  758.  
  759.         RENAME them, NOW, from the number extensions that CUTZIT gave 
  760.         them to more meaningful names while you still remember what you 
  761.         did and what each file contains.
  762.         
  763.         
  764.         If you still prefer to use DOS, that's okay.   
  765.         
  766.         In DOS, it's RENAME OLDFILE NEWFILE, remember?
  767.  
  768.         Example:
  769.  
  770.         I have just cut up a Big Book called "BIGBOOK.TXT" into four 
  771.         chapters using "Whenever a phrase occurs", CLOCK W, page 7,...  
  772.         So, I would have: 
  773.  
  774.         BIGBOOK.1
  775.         BIGBOOK.2
  776.         BIGBOOK.3
  777.         BIGBOOK.4
  778.  
  779.         BIG DEAL, one month from now, I won't remember what they are.
  780.         So I can use DOS to RENAME the 4 chapters, now!
  781.  
  782.         C:\>RENAME BIGBOOK.1 PREFACE.   
  783.         C:\>RENAME BIGBOOK.2 ORGANIZ.CH1
  784.         C:\>RENAME BIGBOOK.3   RULES.CH2
  785.         C:\>RENAME BIGBOOK.4 REGULAT.CH3
  786.         
  787.         or I use CUTZIT to do the same thing described above as MORE R. 
  788.  
  789.         
  790.                      Glue Two Files Together, Side by Side  
  791.         MORE G                         A                       PAGE 17
  792.         ---------------------------------------------------------------  
  793.         PURPOSE:   This will enable you to place two files side by side 
  794.                    and glue them together - horizontally.  You can use 
  795.         this to put back together what you cut out with Vertical cuts.
  796.         
  797.         Example: If one file had just names in it (6 of them padded 
  798.                  with dots) like this-    
  799.  
  800.                  ROPER........
  801.                  TRUMAN.......
  802.                  WILSON.......
  803.                  MCDUFFIE.....
  804.                  BRANCATO.....
  805.                  BABCOCK......
  806.  
  807.         And another file had their ages (each on a line) like this-
  808.  
  809.                  46
  810.                  48
  811.                  45
  812.                  34
  813.                  25
  814.                  49
  815.                  88
  816.                                    (Notice there are seven ages, not six)
  817.                                    (88 is the seventh age, seventh line)
  818.  
  819.         Then you could "GLUE" them together to form one file with
  820.  
  821.                  ROPER........46
  822.                  TRUMAN.......48
  823.                  WILSON.......45
  824.                  MCDUFFIE.....34
  825.                  BRANCATO.....25
  826.                  BABCOCK......49
  827.  
  828.         You MAY need to PAD the first file with any missing characters 
  829.         such as dots (.) if they are not uniform in length.  Dots are 
  830.         used here to illustrate the character.  Probably your Database 
  831.         would use "Spaces", ASCII 032.  The PAD function is on page 12. 
  832.  
  833.         When either file runs out of data, the left or the right, the 
  834.         operation stops.  The first file had only six names.  The 
  835.         operation stopped when BABCOCK got 49.  The 88 was not used in 
  836.         the second file.
  837.  
  838.         The "filler" is optional.  In this example, we did not need a 
  839.         filler because the first file ALREADY had dots on the right of 
  840.         the names.  If you are putting together two files without dots, 
  841.         you can specify what character to make the filler and how many. 
  842.         (Remember, you may ACTUALLY need to use the "space" character 
  843.         as the filler, not a dot.) 
  844.  
  845.  
  846.         
  847.                     How Many Bytes In File, ASCII or BINARY
  848.         MORE H                         AB                      PAGE 18
  849.         ---------------------------------------------------------------  
  850.         PURPOSE:   This will tell you how many bytes are in a file.
  851.                    You could have used a DOS DIR to do the same thing, 
  852.         but you would have had to get out of CUTZIT and then re-ENTER 
  853.         CUTZIT.
  854.  
  855.         You could use the "Test Line Lengths of ASCII file" (MORE T) to 
  856.         do the same thing if it's an ASCII file, except this is faster 
  857.         and it works on ASCII or BINARY, both. 
  858.                     
  859.  
  860.  
  861.         
  862.                         Test Line Lengths of ASCII Files
  863.         MORE T                         A                       PAGE 19      
  864.         ---------------------------------------------------------------  
  865.         PURPOSE:   This feature gives a mini-statistics report on your 
  866.                    ASCII file.
  867.  
  868.         CUTZIT asks you for a line length to use for comparing.  If you 
  869.         press ENTER, the length of 80 will be used.  Don't use a 
  870.         negative number.  Any decimals will be "integerized" 
  871.  
  872.         You will get the following information:
  873.  
  874.         How many Bytes are in the file.
  875.         How many lines have exactly the length you input to compare.
  876.         What is the smallest size found and how many lines are there.
  877.         What is the largest size found and how many lines are there.
  878.         How many lines are smaller than the comparison length.
  879.         How many lines are larger than the comparison length.
  880.         How many lines are in the file all together.
  881.  
  882.  
  883.         
  884.                    Check Whether The File Is ASCII or BINARY
  885.         MORE C                         AB                      PAGE 20
  886.         ---------------------------------------------------------------  
  887.         PURPOSE:   In case you have a different idea from me, use this 
  888.                    to test whether a file is ASCII or BINARY.
  889.  
  890.         Each Function in the Manual, like this page, will have a B or 
  891.         an A under the Title to signify that the function is an Ascii 
  892.         or Binary function.  If it can be either A or B, then you will 
  893.         see both A and B together such as AB.  This one is AB.
  894.  
  895.         I check the first 500 bytes (if the file is that large) for any 
  896.         occurence of High Bit ASCII.  (Actually, CUTZIT checks for 4 
  897.         occurences of it.) 
  898.  
  899.         High Bit ASCII is also known as HASCII in some circles.  After 
  900.         all, it's ALL really ASCII, isn't it?  Low ASCII 0 to 127 and 
  901.         high ASCII 128 to 255.  ASCII is from 000 to 255, decimal.
  902.  
  903.         I call Low  ASCII (000 to 127) just plain "ASCII."
  904.         I call High ASCII (128 to 255, HASCII) just plain "BINARY."
  905.  
  906.         Those are the names to use while using "CUTZIT."
  907.  
  908.         Put a switch, /%,  AFTER the file name, like "MYFILE.EXE /%" to 
  909.         see the actual percentage and the number of bytes checked, 
  910.         although it's not necessary.  Use it only if you're curious. 
  911.  
  912.         NOTE: Make sure IF YOU USE the switch /%, you don't use the 
  913.         backslash and try to use \%.  Can you see which way it leans?
  914.         Therefore, I will explain it again, /% is okay....
  915.         and \% is wrong and won't work....
  916.  
  917.         
  918.  
  919.         
  920.                    Extract A BASIC Program From An ASCII File
  921.         MORE E                         A                       PAGE 21 
  922.         ---------------------------------------------------------------  
  923.         PURPOSE:   This will extract a BASIC program from any ASCII 
  924.                    file. 
  925.         I made this function to retreive BASIC listings hidden in the 
  926.         middle of COMPUSERVE LOG sessions.  Sometimes I just look at 
  927.         programs and capture them in my LOG of the session.
  928.         
  929.         If there are more than one program, CUTZIT will FIND them all - 
  930.         
  931.         (and CUTZIT will also find any lines in the ASCII text which 
  932.         begin with numbers AND are increasing in value.  That's how it 
  933.         works, I've told you now.)
  934.  
  935.         CUTZIT will also ask you for a range of line numbers to accept.
  936.  
  937.         If you enter -for example- 550 to 850, then only line numbers 
  938.         between and including 550 and 850 will be saved if they are 
  939.         found at all. 
  940.  
  941.         You can also use this to your advantage if you want to strip a 
  942.         nice section of code out of another program to use in yours.
  943.  
  944.         After you get it, RENUM it and MERGE it with CUTZIT...
  945.         
  946.          - the line numbers in the first file will be UNIQUE enough if 
  947.         you include the space after the line number, such as "1300 ", 
  948.         not "1300" 
  949.  
  950.         Please note:
  951.          ....you cannot use this function on TOKENIZED BASIC.  You must 
  952.         have saved the program with the ASCII switch, such as this: 
  953.  
  954.                                 SAVE "MYFILE",A
  955.                                              ~~~
  956.  
  957.         See the ",A" - that tells BASIC or BASICA or GWBASIC to save in 
  958.         ASCII format, not Tokenized BINARY.  See your BASIC manual for 
  959.         more information on saving in ASCII format.
  960.  
  961.  
  962.  
  963.         
  964.                             View File On The Monitor
  965.         MORE V                        A                        PAGE 22
  966.         ---------------------------------------------------------------  
  967.         PURPOSE:   This is the part I am ashamed of, when there are so 
  968.                    many nice viewing programs on the market.  Vernon 
  969.         Beurg's LIST is THE standard for all others to imitate.  
  970.  
  971.         BROWSE and SMOOTH, distributed by ZIFF DAVIS, are two more, but 
  972.         not really in the same league/class with Vernon's. 
  973.  
  974.         Anyway, I figured it would be nice to look at some of the files 
  975.         without having to leave CUTZIT and so THAT is why VIEW is here. 
  976.  
  977.         You only see the first 80 characters of each line.  It's peek-
  978.         a-boo.  And I calculate where you are --in percent-- so you can 
  979.         tell where you are in the file.  1% is at the beginning, 100% 
  980.         is through (at the END). 
  981.  
  982.         If a line is longer than 80 characters, you get a reminder of 
  983.         that fact when you notice the rightmost character on the line 
  984.         is a little arrowhead pointing to the right. 
  985.  
  986.         Sorry, Vernon.
  987.  
  988.         Sorry, ZIFF DAVIS.
  989.  
  990.  
  991.  
  992.                           Print A File To The Printer
  993.         MORE P                         A                       PAGE 23
  994.         ---------------------------------------------------------------  
  995.         PURPOSE:   This will print any ASCII file to the printer like 
  996.                    you can using DOS. 
  997.  
  998.         I figured it would be nice to do this without having to leave 
  999.         the CUTZIT session.  
  1000.  
  1001.         I could have Shelled out and used DOS PRINT, but I wanted 
  1002.         CUTZIT to be compatible without crashing if it couldn't find 
  1003.         COMMAND.COM, etc., etc. 
  1004.  
  1005.         In DOS, this is what you do:
  1006.  
  1007.                               COPY FILENAME PRN
  1008.  
  1009.                                       or
  1010.  
  1011.                               TYPE FILENAME > PRN
  1012.  
  1013.  
  1014.                               To do the SAME THING....
  1015.  
  1016.  
  1017.  
  1018.         
  1019.                         Search A File To Replace A Word
  1020.         MORE S                        A                        PAGE 24 
  1021.         ---------------------------------------------------6---^--------  
  1022.         PURPOSE:   To find and replace words or phrases automatically 
  1023.                    in a file, program, or database of ASCII records.
  1024.  
  1025.         The source file is the name of the file to look IN.
  1026.  
  1027.         Yep, I know.  The preposition "in" ......... I'm sorry....
  1028.         
  1029.         Then CUTZIT will ask you what word (or phrase) to try to find 
  1030.         to replace.
  1031.  
  1032.         CUTZIT will ask you if the word happens to be in any specific 
  1033.         position.  If the word being replaced is "PAGE" and it is in 
  1034.         the same position everytime it's found, then you're lucky.  The 
  1035.         word, for instance, "PAGE" is found in the same position in 
  1036.         this manual - at the Top Right side of every Page at position 
  1037.         64, and it's found in various positions in the paragraphs, too. 
  1038.  
  1039.         If you specified position = 64, then you would change all of 
  1040.         THOSE "PAGE" occurences and NOT the ones INSIDE the paragraphs 
  1041.         hopefully.  The position of "PAGE" in the last sentence is 16.
  1042.     -----1-----^---2---------3---------4---------5---------6---------7-----
  1043.  
  1044.         CUTZIT will ask you what to replace it with?  If you reply with 
  1045.         nothing, such as pressing ENTER alone, then the word will be 
  1046.         REMOVED.  If you respond with a word such as SHEET, then SHEET 
  1047.         will be placed everywhere PAGE was found at position = 64.
  1048.  
  1049.         Wow, it's hard to explain.  It's easier to use.  Really.
  1050.  
  1051.         If CUTZIT cannot fullfill its obligation to replace ALL that it 
  1052.         finds, then you will get a marker in your newly formed file 
  1053.         informing you that you need to take the matter into your own 
  1054.         hands.  The extra line will say: 
  1055.         "****** all the instances didn't get changed in the above line." 
  1056.  
  1057.         CUTZIT will tell you on the screen that it failed, also.  
  1058.         Look, you can't make those lines TOO big - the limit is set at 
  1059.         512 characters for now.  Maybe it could be bigger.  Let me know 
  1060.         if this gives you a problem.  (OR read the next NOTE:)
  1061.         
  1062.         NOTE: If you have PCTOOLS or NORTON Utilities, you can change 
  1063.         it on disk.  I made it a 5 character string "00512" so you can 
  1064.         find it easily. If you change it, don't distribute your own
  1065.         personal, changed version of CUTZIT to others, please. 
  1066.  
  1067.         This feature is mostly used for one line records of Data.
  1068.  
  1069.         Maybe the word "CLARK" was mispelled "CLRAK" in a report and you 
  1070.         don't know what data record it is, but you do know that all 
  1071.         NAMES are in position 4 of every line, every record. 
  1072.         
  1073.         Tell CUTZIT to find "CLRAK" at Byte 4 and change it to "CLARK" 
  1074.         for you. 
  1075.  
  1076.  
  1077.         
  1078.                      When A Field CHANGES, Make A New File
  1079.         MORE W                         A                       PAGE 25   
  1080.         ---------------------------------------------------------------  
  1081.         PURPOSE:   CUTZIT will make a new file everytime a certain 
  1082.                    position CHANGES in an ASCII file.
  1083.  
  1084.         This is to be used on Data which is SORTED, obviously.
  1085.  
  1086.         Use DOS' SORT program to SORT if needed.  Here's the syntax:
  1087.         "SORT < UNSORTED > SORTED"      and here's an example using an 
  1088.         unsorted file called RECORDS.DTA on drive A:.  A sorted file on 
  1089.         B: called RECSORTD.DTA will be created (sorted on position #9.)
  1090.  
  1091.                    SORT /+9 < A:RECORDS.DTA > B:RECSORTD.DTA 
  1092.  
  1093.         If you tell CUTZIT what byte to look at and for how many bytes 
  1094.         to look at, everytime that field - or chunk - CHANGES, a new 
  1095.         file will start collecting that record and all that follow - 
  1096.         until the field CHANGES again.
  1097.  
  1098.         Consider these 4 UNsorted data records:
  1099.  
  1100.         1        10        20        30  <-----This is a ruler for you.
  1101.         |        |         |         |         Byte positions 1 to 30
  1102.         |        |         |         |         are marked with a "|".
  1103.         |        |         |         |        (Position 9 is left of 10)
  1104.         ROPER   BLUE  140CLERK     189
  1105.         WILSON  BLONDE160TYPIST    155
  1106.         MCDUFFIEBLACK 133MUSICIAN  121
  1107.         TRUMAN  BLACK 177PROGRAMMER198
  1108.         |        |         |              When they are SORTED on the "B",
  1109.         |        |         |                   at position = 9,
  1110.         |        |         |                   they will be as follows:
  1111.         MCDUFFIEBLACK 133MUSICIAN  121
  1112.         TRUMAN  BLACK 177PROGRAMMER198
  1113.         WILSON  BLONDE160TYPIST    155
  1114.         ROPER   BLUE  140CLERK     189
  1115.         |        |         |         |
  1116.         |        |         |         |
  1117.         1        10        20        30  <-----This is a ruler for you.
  1118.         
  1119.         If you look at postion 9, for TWO bytes (#9, #10), they NEVER 
  1120.         change...they are all "BL".  Look at JUST those 2 bytes!
  1121.         
  1122.         BLack, BLack, BLonde, BLue - four "BL" words - 2 bytes 
  1123.         
  1124.         You would get just one file made....THEY NEVER CHANGED.  
  1125.         They're all "BL", if you look at JUST two bytes (#9, #10!) 
  1126.  
  1127.                                  B U T . . . .
  1128.         If you look at the same position 9 for 3 bytes (#9,#10,#11), 
  1129.         they CHANGE TWICE.  Once from "BLA" to "BLO" and then again 
  1130.         from "BLO" to "BLU".  Use 3 bytes and you get 3 files made. 
  1131.  
  1132.         The first file would contain the MUSICIAN and PROGRAMMER.
  1133.         The second file would contain the TYPIST.
  1134.         The third (and last) file would get the CLERK.
  1135.  
  1136.         
  1137.                     Data Range Must Be Passed To Keep Record
  1138.         MORE D                         A                       PAGE 26
  1139.         ---------------------------------------------------------------  
  1140.         PURPOSE:   Here, the best way to describe it is this.  If you 
  1141.                    had DATA containing peoples' weights in byte 
  1142.         positions 11, 12, and 13 (such as 188 pounds, etc.)  You 
  1143.         could tell CUTZIT to save all the records of people who weigh 
  1144.         between 125 and 198 pounds.  (All those who pass the "test")
  1145.         
  1146.         You will be prompted for "Start of DATA RANGE" 
  1147.         Let's use 125 as in the above example.  Enter 125.
  1148.  
  1149.         Then you will be prompted for "End of DATA RANGE"
  1150.         Let's use 198 as in the above example.  Enter 198
  1151.  
  1152.         CUTZIT will ask "What Byte Position is the above DATA FOUND?" 
  1153.         Pretend that the Data starts on position 11.  You enter 11.
  1154.         
  1155.         Then you CHOOSE whether to treat the DATA as NUMBERS or not.
  1156.         Since these ARE numbers, you may want to treat them as Numbers 
  1157.         for the comparisons being made.
  1158.         
  1159.         CUTZIT makes a new file containing all the records of people 
  1160.         who fall in the range of 125 to 198, and including 125 and 198.  
  1161.         
  1162.         It's up to you to know how your data looks and whether it needs 
  1163.         a preceeding zero or blank for that field.  All comparisons can 
  1164.         be done in ASCII or with NUMBERS.  In ASCII, "0200" comes before 
  1165.         "100." (0 before 1).  But, NUMERICALLY, 100 comes before 200.  
  1166.         If you have DATA like "ABC" and choose NUMBERS then "ABC" = 0
  1167.  
  1168.         If you can get your hands on a statistical package called 
  1169.         "EPI-INFO" from the CDC in Atlanta, do it.  Yes, it's FREE 
  1170.         PUBLIC DOMAIN.  Handles over 32,000 records, draws graphs, 
  1171.         write your own questionnaires with its editor, write "programs" 
  1172.         and it's even faster than the commercial, $600 statistical 
  1173.         programs, and "EPI-INFO" is STILL VERY EASY TO USE.  
  1174.         
  1175.         Don't write to me.... send off, on your OWN letterhead, to the 
  1176.         people who distribute "EPI-INFO" for the Centers for Disease 
  1177.         Control.  They are:         USD, INC.
  1178.                              2156-D West Park Court
  1179.                         Stone Mountain, GA 30087, U.S.A
  1180.  
  1181.         Four Disks, a printed 157 page manual, and shipping: prepaid or 
  1182.         credit card, $18.00 total, at THEIR cost...Phone (404) 469-4098 
  1183.         At the time of this writing, it's in version 3.0 -- with version 
  1184.         4.0 being promised in the "Late Summer of 1989,"- quoting USD.   
  1185.  
  1186.         Public Domain means you can use it for free, it doesn't mean you 
  1187.         get 4 diskettes or printed 157 page manuals for free.  C'mon now.
  1188.        
  1189.         Back to CUTZIT:  If you END the name of the file to be made 
  1190.         ".EPI", it will automatically bring in the header of the Epi-
  1191.         Data file (.REC) to create a subset of the original data. 
  1192.         (CUTZIT supports records of 77 bytes or less in this EPI mode) 
  1193.        
  1194.  
  1195.         
  1196.                  Trim Characters from the Right Side of Records
  1197.         MORE T                         A                       PAGE 27   
  1198.         ---------------------------------------------------------------  
  1199.         PURPOSE:   CUTZIT can look at lines of a file and remove 
  1200.                    characters from the right side according to what 
  1201.         character you desire to trim away.  You may enter the single 
  1202.         character or you may use the <, >, or = signs described below 
  1203.         for ranges if you are the "advanced user."
  1204.  
  1205.         If that character is not present, then of course, no cutting is 
  1206.         performed.  CUTZIT trims only what you want it to trim.
  1207.         
  1208.         If you tell CUTZIT to trim away all the SPACES it finds, then 
  1209.         CUTZIT will trim away all the SPACES it finds at the right side 
  1210.         of a line (record).  SPACES are hard to see in a word 
  1211.         processor, but not hard for CUTZIT to find.  A Space Character 
  1212.         is ASCII 032 decimal. 
  1213.  
  1214.         If you are trimming dots and your line looked like this:
  1215.  
  1216.         ABC...DEFGHIJK.............
  1217.         
  1218.         After you told CUTZIT to trim away all the dots (.), it would 
  1219.         look like this:
  1220.  
  1221.         ABC...DEFGHIJK               
  1222.  
  1223.         Notice that CUTZIT trims from the Right side and stops when it 
  1224.         no longer finds the character you're trying to trim.
  1225.  
  1226.         If you want to trim using Comparisons, use > for Greater than
  1227.                                                use < for Less than
  1228.                                                use = for Equals
  1229.  
  1230.         Use 2 characters for Hex numbers and three characters for 
  1231.         decimal numbers like in the PAD function (see CLOCK P for more 
  1232.         help on my syntax of two and three characters for Hex and 
  1233.         Decimal numbers): 20 is HEX, 032 is decimal, both are the same.
  1234.  
  1235.         Examples:
  1236.         If you wanted to trim all characters greater than Z , then...
  1237.  
  1238.         You could input ">Z"           (use the actual character itself)
  1239.                     or  ">5A"          (the HEX number for Z is 5A)
  1240.                     or  ">090"         (the decimal number for Z is 090)
  1241.  
  1242.         USE NO EXTRA SPACES WHEN INPUTTING THE 4 CHARACTERS (Maximum)
  1243.             ~~~~~~~~~~~~~~~
  1244.               "> 90" is WRONG and ">090" is RIGHT (see the Space?) 
  1245.  
  1246.         You could say "<032" for all characters less than SPACE (032).
  1247.  
  1248.         You could say "=254" for the character known as ASCII 254.
  1249.         You must do it like this because you can't enter a character 
  1250.         254 from the keyboard.  (Okay, I know you CAN, but use this way)
  1251.         (If you put "=FE", that's okay.  Hex FE is decimal 254, too.
  1252.                                      
  1253.  
  1254.  
  1255.  
  1256.                                 VERSION HISTORY                PAGE 28
  1257.         ---------------------------------------------------------------  
  1258.  
  1259.         Version 1.0 - March 1989 - CUTZIT is born with 2 Screens, 
  1260.                                    QuickBASIC 3.0 was the doctor.
  1261.  
  1262.  
  1263.  
  1264.  
  1265.  
  1266.  
  1267.  
  1268.  
  1269.  
  1270.  
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276.  
  1277.  
  1278.  
  1279.  
  1280.  
  1281.  
  1282.  
  1283.                                  *** NOTICE ***
  1284.  
  1285.         You may include CUTZIT and CUTZIT.DOC in any program you give 
  1286.         away or call Shareware, etc.  Understand that there may NOT be 
  1287.         a charge for CUTZIT other than the normal and customary charge 
  1288.         for copying which is less than $10.00.  You could charge up to 
  1289.         $9.99 for copying - you CANNOT charge $10.00, get it? 
  1290.  
  1291.         I intend for this program to HELP others, therefore, I hope 
  1292.         that you will take your friends to lunch and give them a copy.   
  1293.         That is enough payment for me.  
  1294.  
  1295.         If you want to write to me with ideas, great....thanks, but be 
  1296.         sure you include a self addressed, stamped envelope if you  
  1297.         want me to write back to you.  I cannot make disk copies, so do 
  1298.         not send me diskettes to do that.  
  1299.  
  1300.         Then how do you get updates?  What to do?  Read on...MacBeth
  1301.  
  1302.         Get the newest versions from the distribution house that you 
  1303.         got this from.  I will keep them up to date with the latest 
  1304.         versions.  They do us a great service by distributing all this 
  1305.         software - 
  1306.         Lunchware, Shareware, Public Domain, etc.   My thanks to them. 
  1307.         +-------------------------------------------------------------+
  1308.         |       David Roper - P. O. Box 680 - Garner, N.C. 27529      |
  1309.         +-------------------------------------------------------------+
  1310.  
  1311.          If you have gotten this by MODEM, then you have gotten it all
  1312.  
  1313.