Content-type: text/html Manpage of randcon

randcon

Section: User Commands (1)
Updated: June 5, 2003
Index Return to Main Contents
 

NAME

randcon - simple randomshuffle of text  

SYNOPSIS

randcon is able to take a bunch of textlines and create a randomized version of that textlines. randcon is able to save the output in a textfile or into a csv-file which could be easaly imported into a spreadsheet-program as excel or any other whatever the user likes to use.  

INPUT

there a 3 ways to give randcon input: standardinput, a file or automaticly filled up data.

the default datasource is the standardinput. so one has either to type in all the data by hand or use a pipe.

pipe-example (unix): ls -1 | randcon -n 20

pipe-example (win32): dir /o | randcon.exe -n 20

to read lines from a file, one has to define this file with the -o - flag.

inputfile: randcon -i mydata.txt -n 20

and on could create some data with some magicfoo. just use the -m and -M flags and dont forget the -f. the default datastring would be "rand" followed by the given numbers, but one could easaly define an own prefix for the stuff.

example: randcon.exe -m 5 -M 10 -p foo -f

this will create and randomize foo5, foo6, foo7, foo8, foo9 and foo10.  

OUTPUT

there are also 2 ways to handle the output from randcon. either use the standardoutput or save it in a file. if one wants to use the data in other program which could read .csv-files (comma-separated), then just -t csv and everything will be done for you :). if per default randcon will display the input-data. if one doesnt want to display the inputdata, use the -D / --dont-display-input flag.  

OPTIONS

-s, --seperator
the seperator used in csv-files
-D, --dont-display-input
dont display the input in the output
-d, --distribution
uniform|uni|u : uniform distribution from 0-n

exponential|exp|e : exponential distribution from 0-n

-f, --fill
create 'input' from prefixmin to prefixmax
-i, --input
name of the inputfile, if none, read from stdin
-M, --max
maximum of suffix
-m, --min
minimum of suffix
-n, --number
number of randomizations
-o, --output
name of the outputfile
-t, --output-type
txt : pure and plain text

csv : comma seperated values

-p, --prefix
prefix for the sample
-v, --version
print the version infomation for plnsplime and then exit.
 

BUGS

please report any bugs to <gumz@cs.uni-magdeburg.de>  

AUTHOR

Mathias Gumz <gumz@cs.uni-magdeburg.de>


 

Index

NAME
SYNOPSIS
INPUT
OUTPUT
OPTIONS
BUGS
AUTHOR

This document was created by man2html, using the manual pages.
Time: 13:35:32 GMT, June 05, 2003