AminetAminet
Search:
83856 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/rexx/wordmixer.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:wordmixer, TAI NI PROGGI that mutates =D
Author:megacz(megacz at usa.com)
Uploader:megacz(megacz usa com)
Type:util/rexx
Version:first
Requires:68000+/os2.04+
Architecture:generic
Distribution:Aminet
Date:2006-10-14
Download:http://aminet.net/util/rexx/wordmixer.lha - View contents
Readme:http://aminet.net/util/rexx/wordmixer.readme
Downloads:300

.



# intro
 #######

Well, this little script makes possible to mutate the string,
in a very simple way, it is made for fun mainly.



# more intro
 ############

The main idea is to move the first letter of a word to the end
while attaching it between particular letters. Maximum number
of available combinations is 'wordlen'*'wordlen-1'.
So basically if u pick word: OHNO! wmix will process it as
follows:

HONO!, HNOO!, HNOO!, HNO!O, NHO!O, NOH!O, NO!HO, NO!OH, ON!OH, 
O!NOH, O!ONH, O!OHN, !OOHN, !OOHN, !OHON, !OHNO, O!HNO, OH!NO, 
OHN!O, OHNO!,

giving u maximum number of switchable letters.



# more, more intro
 ##################

As u can see above OHNO! become a mutant muahahahaha =D, now 
i will explain in detail how does it work for those who need
such explanation and for those who didnt get it by earlier infos.

Number of phases depends on 'wordlen-1' - number of letters.

PHASE 1: OHNO! - original word not changed gets prepared
PHASE 2: HONO! - O from PHASE 1 has moved after H
PHASE 3: NHOO! - O from PHASE 1 has moved after N
PHASE 4: NHOO! - O from PHASE 1 has moved after O
PHASE 5: HNO!O - O from PHASE 1 has moved after !

...and the cycle repeats, and PHASE 5 enters PHASE 1,
until it reach number of letters 'wordlen'.


word mixer by megacz2k6(megacz at usa.com), 29-08-2006


Contents of util/rexx/wordmixer.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1247    2700  46.2% -lh5- 95ed Aug 29 23:09 wordmixer/wmix
[generic]                 1798    4742  37.9% -lh5- 3374 Aug 30 02:44 wordmixer/wmix.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files    3045    7442  40.9%            Oct 14 00:39

Aminet © 1992-2022 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>