Alexander's RexxUtils

Here I offer some small utilities which I have written in REXX. Some of them may be useful for other people. They are free, but not intended to be programming examples. Well, perhaps to teach what to avoid in programming ... ;-)

Some tools have been post-processed using ARC to reduce the size of the script ...

Disclaimer

These programs are freeware but not public domain !
Though you can obviously see and therefore modify it for your
own purposes you are not allowed to remove my copyright lines
from the sources and all modified versions. I like to receive
copies of enhanced versions!

You may download and use them but you must not put them on any public location nor distribute them in any other way.
If you use these programs I am in NO WAY responsible for any loss or damage; whether physical, financial, emotional, social, mental, or otherwise that may result from the use of this product. There is no warranty that these programs will run or even do a specific job.

adfa (1.35, 2184 Bytes) Alexander's Do For All

ADFA is just a small utility you can use to execute a command on a bunch of files. Target commands are other utilities which can't expand OS/2-wildcards (*, ?) themself.

Let's see a tiny example:
adfa *.c, smallut %
would call the program smallut once for every file that matches the specification *.c in the current working directory.

In it's current state ADFA can not compete with other utilities which are trying to do the same job. So, why should anyone want to use it ? Well, it's simple, small and free ...
OK, a really good version that isn't limited to process files in the current directory would be nice but is not scheduled yet :-(


amfe (1.40, 6020 Bytes) Alexander's PMMail frontend

Alexander's Mail FrontEnd is a PMMSend (a PMMail companion) command line wrapper similar to the Un*x mail program. It's purpose is providing a comfortable interface not only to PMMSend but to PMMail itself, featuring the usage of an arbitrary default account and the appropriate default signature.
You can now create messages from the commandline. If necessary you are prompted for the address, subject and can enter a small message body in the shell. You can also set a default account and then use a Un*x-like syntax like:

amfe user@host.domain <textfile

amkdist (Version 0.50, 20020207; 5957 Bytes) Alexander's Make Distribution

amkdist creates an INFO-Zip archive containing files that are given in a simple script file. You may rename them for the package and could also specify some actions that may be necessary before releasing them. Here's a sample script file:

           RCD2
           !
           arc rcd2.cmd r2.cmd
           delea readme.1st
           !
           r2.cmd rcd2.cmd
           readme.1st
           disclaimer.am

According to the simple rules of these script files, the first line gives the package name. Then two utilities are invoked which could prepare the files for being distributed. At last three files (named r2.cmd, readme.1st and disclaimer.am) are included in the Zip-archive (as rcd2.cmd, readme.1st and disclaimer.am).
The archive name will be
RCD2_xxx
where xxx is a release number to be specified on the command line.
You will find some online help when invoking amkdist /h
at2h (0.76, 3853 Bytes) Alexander's Text to HTML converter

This was a silly attempt to write a plain text to HTML converter in REXX. See the online help (at2h /h) for further documentation.


Alexander's which (July 2000, 924 bytes)

A small replacement for the un*x "which" utility. It will show the complete path of any executable that cmd.exe will find. Example:

[E:\]awhich awhich
F:\USR\LOCAL\BIN\awhich.cmd

Back to OS/2-stuff page of Alexander Mai