Samples of the Comand Line use of ADULT.COM

Last Up date: 2005 October 5
Recent changes: Examples of the 96 byte program use.

I have the following in a file: 2PARA
I have a sample program written in Assembly Language.  It will do things
with the characters in text.  It "Adulterates" the text by changing the
letters in a way that can be specified by the user.  I called the
program "ADULT" sort of an abbreviation. ??

In use you follow the name (ADULT) with pairs of characters.  ADULT
changes all occurrences of the first of the pair to the second.  For
example if you only wanted all the lower case "e" and "i" to be changed
to upper case X you could use:

<2para adult eXiX
Typed at the DOS Prompt (Command Lime Prompt, as it is now called in WinXP) I see the following print out:
I havX a samplX program wrXttXn Xn AssXmbly LanguagX.  It wXll do thXngs
wXth thX charactXrs Xn tXxt.  It "AdultXratXs" thX tXxt by changXng thX
lXttXrs Xn a way that can bX spXcXfXXd by thX usXr.  I callXd thX
program "ADULT" sort of an abbrXvXatXon. ??

In usX you follow thX namX (ADULT) wXth paXrs of charactXrs.  ADULT
changXs all occurrXncXs of thX fXrst of thX paXr to thX sXcond.  For
XxamplX Xf you only wantXd all thX lowXr casX "X" and "X" to bX changXd
to uppXr casX X you could usX:
It could be a pain to type in all the changes every time you wanted to use ADULT but DOS allows commands to be put into a .BAT file and then when that file is run it gives the commands to DOS. I have an example that uses ADULT and reverses the case of all the vowels. It is RV.BAT

You use RV by following the name (just RV) with first the name of the input file and then the name of the output file. So a sample use of RV could be:

rv prep.txt funny.txt
(prep.txt is the Preceding Paragraph and funny.txt is what follows.)
yOU UsE RV bY fOllOwIng thE nAmE (jUst RV) wIth fIrst thE nAmE Of thE
InpUt fIlE And thEn thE nAmE Of thE OUtpUt fIlE.  SO A sAmplE UsE Of RV
cOUld bE:
I hope this sort of intrigues you and illustrates the fun you can have with a very simple little program.

Contact me at:
My phone #'s
For comments call, or e-mail me. Go to My Home Page or TOP of this page.