home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / rxmulch2.zip / hex_char.ctl < prev    next >
Text File  |  1994-01-07  |  1KB  |  60 lines

  1. ;   This is a comment (line begins with a semi-colon ";").
  2. ;
  3. ;   Control-file for changing lower characters (x00-x1F) with the appropriate
  4. ;   hex-codes, except for CR-LF, so one can use an editor to look at the contents
  5. ;
  6. ;   to apply to 'infile' use:
  7. ;
  8. ;      rxMulch infile hex_char.ctl
  9. ;
  10. ;   to revert changes to 'infile' use:
  11. ;
  12. ;      rxMulch infile -hex_char.ctl
  13. ;
  14. ;  1993-11-14, Rony G. Flatscher, Wirtschaftsuniversitaet Wien
  15. ;
  16. ;  empty lines are ignored
  17.  
  18. ; search-string/replace-string
  19. ; delimiter is "/", as this is the character in column 1
  20.  
  21. /@x00/<@@x00>/
  22. /@x01/<@@x01>/
  23. /@x02/<@@x02>/
  24. /@x03/<@@x03>/
  25. /@x04/<@@x04>/
  26. /@x05/<@@x05>/
  27. /@x06/<@@x06>/
  28. /@x07/<@@x07>/
  29. /@x08/<@@x08>/
  30. /@x09/<@@x09>/
  31. ; conserve line-feed
  32. ;/@x0A/<@@x0A>/
  33. /@x0B/<@@x0B>/
  34. /@x0C/<@@x0C>/
  35. ; conserve carriage-return
  36. ;/@x0D/<@@x0D>/
  37. /@x0E/<@@x0E>/
  38. /@x0F/<@@x0F>/
  39.  
  40. ; delimiter is "=", as this is the character in column 1
  41.  
  42. =@x10=<@@x10>=
  43. =@x11=<@@x11>=
  44. =@x12=<@@x12>=
  45. =@x13=<@@x13>=
  46. =@x14=<@@x14>=
  47. =@x15=<@@x15>=
  48. =@x16=<@@x16>=
  49. =@x17=<@@x17>=
  50. =@x18=<@@x18>=
  51. =@x19=<@@x19>=
  52. =@x1A=<@@x1A>=
  53. =@x1B=<@@x1B>=
  54. =@x1C=<@@x1C>=
  55. =@x1D=<@@x1D>=
  56. =@x1E=<@@x1E>=
  57. =@x1F=<@@x1F>=
  58.  
  59.  
  60.