home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / inettime.zip / REMOVEOF.TXT < prev   
Text File  |  1995-06-28  |  4KB  |  60 lines

  1. /**************************************************************************/
  2. /*                                                                        */
  3. /* REMOVEOF.cmd - Procedure to remove any/all extraneous End-Of-File      */
  4. /*                (EOF) marks from an ASCII text file.                    */
  5. /*                                                                        */
  6. /*                The SLIP/Dialer program APPENDS its entries to the      */
  7. /*                connect.log file, and does not remove any EOF marks.    */
  8. /*                The log entries will be in the file but you typically   */
  9. /*                can not see them with the 'TYPE' command or a normal    */
  10. /*                text editor (or with the INETTIME summary command)      */
  11. /*                after an EOF mark.                                      */
  12. /*                                                                        */
  13. /*------------------------------------------------------------------------*/
  14. /*                                                                        */
  15. /* Copyright (c) D.A.Ritari-KNIGHT RESEARCH - 1995 - ALL RIGHTS RESERVED  */
  16. /*                                                                        */
  17. /* FREELY DISTRIBUTABLE FOR ANY USE OR PURPOSE.                           */
  18. /* NO WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PURPOSE IMPLIED.     */
  19. /*                                                                        */
  20. /* Version:       1.0                                                     */
  21. /* Last Update:   March 2, 1995                                           */
  22. /*                                                                        */
  23. /* Contact:       Constructive comments and tips to:                      */
  24. /*                                                                        */
  25. /*                Internet:    dritari@ibm.net                            */
  26. /*                Compuserve:  71301,3400                                 */
  27. /*                                                                        */
  28. /*------------------------------------------------------------------------*/
  29. /*                                                                        */
  30. /* USAGE:    REMOVEOF  <Input-file>  <Output-file>                        */
  31. /*                                                                        */
  32. /* Example:  REMOVEOF \TCPIP\ETC\CONNECT.LOG  \TCPIP\ETC\CONNECT.OUT      */
  33. /*                                                                        */
  34. /* This utility does not write back to the original log file...I advise   */
  35. /* you to look at the output (and perhaps keep a backup of your original  */
  36. /* until you are convinced the removal of EOF marks went ok)...then       */
  37. /* copy the <output-file> back to CONNECT.LOG                             */
  38. /*                                                                        */
  39. /* How do EOF marks (HEX character 1A) get append to my CONNECT.LOG       */
  40. /* file in the first place?  You must have edited your log with a text    */
  41. /* editor and saved the file...MOST text editors put an EOF mark at the   */
  42. /* end of a file. This EOF mark will cause many problems for you in the   */
  43. /* future as you try to 'type', edit, or summarize (using INETTIME)       */
  44. /* as these commands only read until the EOF mark...all further entries   */
  45. /* in the log are ignored.                                                */
  46. /*                                                                        */
  47. /**************************************************************************/
  48. /*********** FILE_ID.DIZ *************************/
  49. /* INETTIME.CMD - Version 1.3 - June 19, 1995    */
  50. /* -Small REXX proc for OS/2 to summarize        */
  51. /*  by month all connect time to IBM's Advantis  */
  52. /*  Internet network using the CONNECT.LOG as    */
  53. /*  input data. (See INETTIME.TXT for details).  */
  54. /* REMOVEOF.cmd - Version 1.0 - March 2, 1995    */
  55. /* -Procedure to remove any/all extraneous       */
  56. /*  End-Of-File (EOF) marks from an ASCII text   */
  57. /*  file. (See REMOVEOF.TXT for details).        */
  58. /* Copyright(c) D.A.Ritari-KNIGHT RESEARCH-1995  */
  59. /*************************************************/
  60.