Maskprocessor word at position??[solved]
#8
I have finished the first version of my WordAtIndex generator

I happy about suggestions and constructive comments
http://tinyurl.com/pgsc37t

Word At Index 0.0.2
===================

Returns the word of a mask given its index.
Purpose: split a mask for eg distributed computing [brute force]

pc1 -> mask[0-100000000]
pc2 -> mask[100000001-200000000]
...

Usage: bash wai.sh -i index -m mask [customCharSet]
eg.
bash wai.sh -i1000000 -m?d?d?d?d?d?d?d?d
will output
'00999999'
surrounding '' are needed to make sure the space char wont be forgotten

* Info:
-p, to display the full output additional to the word at index -i
-v, Display version number
-h, Display this help menu

* generation:

-i, Index for Word; fist word at index 1
-m, Specify mask via Built-in charsets

Example:

bash wai.sh -i 13 -m ?d?d

* Custom charsets:

-1, -2, -3, -4, Specify custom charsets via Built-in charsets

Example:

bash wai.sh -i 13 -m ?1?d?1 -1 ?dabcDE

IMPORTANT -1 ?d?l NOT EQUAL -1 ?l?d

* Built-in charsets:

?l = 'abcdefghijklmnopqrstuvwxyz'
?u = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
?d = '0123456789'
?s = ' !\"#\$%&'()*+,-./:;<=>?@[\\]^_\`{|}~'
without surrounding ''

ENJOY & BE NICE Wink

changelog 0.0.2 - added -p option
WAI will now only return the word at index -i inside single quotes ''
instead of the bulky output information which can be added via -p
this will hopefully enable easy pipelining


Messages In This Thread
RE: Maskprocessor word at position?? - by atom - 08-08-2013, 06:20 AM
RE: Maskprocessor word at position?? - by philsmd - 08-08-2013, 11:12 AM
RE: Maskprocessor word at position?? - by shm99 - 08-09-2013, 06:47 PM
RE: Maskprocessor word at position?? - by Rolf - 08-10-2013, 04:28 AM
RE: Maskprocessor word at position?? - by shm99 - 08-28-2013, 11:54 PM
RE: Maskprocessor word at position?? - by atom - 08-29-2013, 09:32 AM
RE: Word at position release! - by shm99 - 09-13-2013, 03:28 PM