digestion.pl - A perl script to create a digest over one or more fields in a tab
delimited list
digestion.pl [ -h ]
[ -i [input file] ]
[ -o [output file] ]
[ -f [field1;field2;...;fieldn] ]
[ -s [field1;field2;...;fieldn] ]
digestion.pl iterates over a tab delimited list and creates a MD5 digest over
arbitrary fields in that list. It's output is by default the same list only
with the MD5 digest appended to the end of the line, separated by a tab.
Arbitrary fields in the input can be omitted from the output using the -d
option. The purpose of this script is generating MD5 digests suitable for
newusers.pl(8) and hunter-seeker.pl(8).
- -i [input file]
- Read input from input file or stdin if "-".
- -o [output file]
- Write output to output file or stdout if "-".
- -f [field1;field2;...;fieldn]
- Create digest over these fields in the input file. Defaults to fields 1
and 3 (counting from zero).
- -d [field1;field2;...;fieldn]
- Omit these fields in output.
list_raw Default input filename
list_digested Default output filename
newusers.pl(8), hunter-seeker.pl(8), reaper.pl(8),
userneu(8)
Johannes Grassler <johannes.grassler@freenet.de>