home *** CD-ROM | disk | FTP | other *** search
/ Power Programming / powerprogramming1994.iso / progtool / filutl / mvline.arc / MV_LINE.DOC < prev    next >
Text File  |  1986-01-04  |  2KB  |  86 lines

  1. Here is a utility I think you all have a use for.
  2.  
  3. MV_LINE
  4.  
  5. =======
  6.  
  7.  
  8. Moves lines from one ascii text file to another.  If you type "MV_LINE",
  9. you will get some limited on-line help.
  10.  
  11. Basically, you enter a command line like this:
  12.  
  13. mv_line source destination key
  14.  
  15. any lines in file "source" that begin with "key" will be appended to the
  16. end of "destination".
  17.  
  18. file "source" MUST already exist. (If not you will get an error and the pro-
  19. gram will abort.)
  20.  
  21. file "destination" MAY exist. (If not, it will be created.)
  22.  
  23. NOTES
  24. =====
  25.  
  26. 1.) Lines CANNOT be longer than 127 bytes. [Sorry].
  27.  
  28. 2.) "key" CANNOT contain spaces [Sorry again.]
  29.  
  30. 3.) a file named "MV_LINE.$$$" will be created, destroying
  31.  any file you may have with that name, [unlikely].
  32.  
  33. 4.) the comparision of "key" to lines withing "source" file is
  34.  NOT case sensitive. (lower case matches uppercase.)
  35.  
  36.  
  37. If you have any suggestions please leave them for me on the POLARIS BBS.
  38.  
  39.      Thank-you
  40.      Rich Newman.
  41.  
  42.  
  43. Additional Notes by Jim Holloway Diamond Bar IBM BBS
  44.                    (714 861-1549)
  45.  
  46.  
  47. All of you PCBOARD SYSOPS will find this program a VERY useful
  48. utility for moving file descriptions from your RECENT UPLOAD dir
  49. to their proper dir's.
  50.  
  51. Suppose you have a file in the UPLOAD dir called ex:   QMDM113.ARC
  52.  
  53.  
  54.   UPLOAD Directory #10
  55.  
  56. File Name      Size     Date       Description
  57. _________________________________________________________________
  58.  
  59. QMDM113.arc    152320   12-25-85   Qmodem ver 1.13
  60.  
  61.  
  62. and you want to move this line of TEXT from DIR10 to DIR2(if that is
  63. where your Communication Listings are).
  64.  
  65. enter the following command.
  66.  
  67. MV_LINE DIR10 DIR2 QMDM113
  68.  
  69. This will move all lines of TEXT that start with QMDM113 from DIR10 to
  70. DIR2. It will be DELETED from DIR10 and will be moved into DIR2.
  71. You can also use shorter names and it will MATCH all lines that start
  72. with whatever combination you specify.
  73.  
  74. I use this and it cuts down the the time for keeping the UPLOAD Dir
  75. clean to practically NIL....
  76.  
  77. *******  I M P O R T A N T  ***********
  78.  
  79. Put this file in the sub dir that contains your DIR listings ex:
  80.  
  81. C:\PCB\GEN
  82.  
  83. and run this program from this sub dir( C or D:\PCB\GEN )
  84.  
  85.  
  86.