Skip to content

Stand-alone Rexx tools: ooRexx or Regina not limited to Windows NT

License

Notifications You must be signed in to change notification settings

frank-e/rexx-fan

Repository files navigation

rexx-fan

Stand-alone Rexx tools: ooRexx or Regina not limited to Windows NT

Rexx is a script language used under IBM operating systems and by related products, e.g., XEDIT, PC DOS and OS/2. Rexx has been ported to other platforms including Windows and Linux. Rexx is used as a macro language in, e.g., the XEDIT clones Kedit and THE.

As a macro language Rexx could be compared with Lisp or Lua, and as a programming language Rexx could be compared with AWK or Python. Classic Rexx influenced NetRexx, a dialect for the Java Virtual Machine, and ooRexx, an object oriented extension.

The programs in this repo are supposed to work in command line windows (cmd.exe shells) on Windows 2000 or later with ooRexx or Regina, and as long as they do not use special features such as hardlinks they could still/also work on OS/2 or Linux. Please check the usual suspects such as backslashes or semicolons instead of slashes or colons on Linux. Classic Rexx, Regina, ooRexx

  1. 7b: binary to 7b-format (7-bit) codec + spec., claiming to be better than B64, for giggles.
  2. adhrs: Count unusual ADHRS attribute combos for directories.
  3. bocu: BOCU-1 + UTF-8/7/4/1 codec test suite (2010 bocu.rex = 2006 bocu.cmd).
  4. checkmbr: \\.\PHYSICALDRIVEn, disk image (MBR), or unpartitioned VBR floppy image.
  5. cmpdel and cmplink: Compare directory trees SRC and DST, delete or hardlink identical SRC files.
  6. countext: Count used file extensions in a given sub-directory tree.
  7. ff: FileFind, slow as the Windows search unless directories are cached. PC DOS 7 Norton nostalgy.
  8. imm and say: Emulate KEDIT command imm or Rexx say for one-line scripts or expressions.
  9. md5: MD5 test suite 2.1 for test vectors in various IETF RFCs, replacing xyzzy 2.0, cf. RFC 6151.
  10. pi: Comparison of 42 Pi algorithms (2006, was pi.cmd in 2002).
  11. rexxfat: Create FAT12/16/32 superfloppy (no MBR) or VHD (MBR) image files, supports 512e.
  12. rexxsort: See manual on xyzzy. The KWIK in ygrep.rex etc. is a copy of the treble QSort here.
  13. rxclip: Copy to or paste from the clipboard, requires ooRexx with RxWinSys.dll WSClipBoard().
  14. rxpause: Inspired by NT timeout.exe + ooRexx rexxpaws.exe.
  15. rxshell and the required -rxshell constants: RxShell 3.3 with a vintage 2010 manual on xyzzy.
  16. rxtime: Measure the runtime of a specified command.
  17. sparsify: NTFS sparse files with fsutil.exe require admin rights (incl. self test).
  18. stackget: Emulate Quercus REXX/Personal stackget.exe (only ooRexx, not yet ready for Regina).
  19. svg2tiny and svg2true: Try to convert SVG to valid SVG tiny or basic 1.1 with rsvg-convert.exe.
  20. today: List all files changed today 1 *, tomorrow 0 *, new videos this week 7 *.webm, etc.
  21. utf-8: UTF-8 de-/en-coders of OEM codepages 437, 819, 858, 878, 923, and 1252 (incl. test suite).
  22. utf-tab: Show magic codepoints for UTF-16BE, UTF-16LE, UTF-8, UTF-4, and UTF-1.
  23. VHDclone: Copy static VHD with new UUID, timestamp, and creator, faster than diskpart.exe.
  24. which: Oddly on Windows an ordinary .bat or rather .cmd script would be seriously tricky.
  25. xlat: Convert UTF-32, UTF-16, or UTF-8 to UTF-4, or convert UTF-4 to UTF-8. Other UTFs rejected.
  26. xmlcheck: Check that an XML file is well-formed, report nesting level, ignore DTD subset details.
  27. ygrep: A findstr.exe wrapper for NT, the author is used to fgrep or an old OS/2 ygrep.cmd.

The name of this repo matches rexx-fan on SF. For older versions of these programs try xyzzy 2005, 2011, or 2013.

PC DOS 7.1 REXXSAA in a very slow VM

Version 0.0

Download v0.0.zip or tarball