NAME

txdinfo - some information on textual data

SYNOPSIS

...gives some stats about file.dat.
=head1 PARAMETERS

These are the general rules for specifying parameters to this program:

txdinfo -s -xyz -s=value --long --long=value [--] [files/stuff]

You mention the parameters/switches you want to change in any order or even multiple times (they are processed in the oder given, later operations overriding/extending earlier settings. An only mentioned short/long name (no "=value") means setting to 1, which is true in the logical sense. Also, prepending + instead of the usual - negates this, setting the value to 0 (false). Specifying "-s" and "--long" is the same as "-s=1" and "--long=1", while "+s" and "++long" is the sames as "-s=0" and "--long=0".

There are also different operators than just "=" available, notably ".=", "+=", "-=", "*=" and "/=" for concatenation / appending array/hash elements and scalar arithmetic operations on the value. Arrays are appended to via "array.=element", hash elements are set via "hash.=name=value".

The available parameters are these, default values (in Perl-compatible syntax) at the time of generating this document following the long/short names:

black, B (scalar)
0

ignore whitespace at beginning and end of line (non-strict mode)

cols (scalar)
0

print number of columns only

coltitle (scalar)
0

print title of specified column

coltitles (scalar)
0

extract the column title line

config, I (array)
[]

Which configfile(s) to use (overriding automatic search in likely paths); special: just -I or --config causes printing a current config file to STDOUT

findcol, c (scalar)
''

find a column by name

help, h (scalar)
0

show the help message; 1: normal help, >1: more help; "par": help for paramter "par" only

Additional fun with negative values, optionally followed by comma-separated list of parameter names: -1: list par names, -2: list one line per name, -3: -2 without builtins, -10: dump values (Perl style), -11: dump values (lines), -100: print POD.

strict, S (scalar)
1

use strict syntax (also faster)

text, T (scalar)
1

allow some text as data

version (scalar)
0

print out the program version

AUTHOR

Thomas Orgis <thomas@orgis.org>

LICENSE AND COPYRIGHT

Copyright (c) 2005-2013 Thomas Orgis, Free Software licensed under the same terms as Perl 5.10