The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Bin::Data::1D

SYNOPSIS

This module "Bin::Li" provides scripts for specific functions that deals "line-recorded data".

DESCRIPTION

The included commands are as follows.

  • 1. expskip ; Only shows 1st, 10th, 100th, 1000th lines and so on.

  • 2. freq ; Counts the frequencies of each different value that appears as one line.

  • 3. sampler ; Randomly selected lines will be extracted.

  • 4. cat-n ; Alternative function of "cat -n". i.e. the space will become the tab character, not the sequence of the space characters.

  • 5. chars2code ; Each line is interpreted as the stream of binary codes. Hexagonal ASCII codes or Unicode will be shown.

  • 6. summing ; Accumulative sum will be shown while reading each line.

  • 7. gzpaste ; Unix `paste` funciton for multiple gzipped files.

  • 8. linedigest ; print each "digest" (hash value) of all the lines.

  • 9. idmaker ; put the same id (number) on each "different" line values.

  • 10. uniq-c ; Alternative of "uniq -c".

  • 11. wc-l ; Alternative of "wc -l".

  • 12. headomit ; a utility especially for multiple files so that the common first line values will be treated (omitted or reserved).

  • 13. lminusl ; Given 2 files A and B, each file regarded to be a set of line values {a} or {b} for the two, {a∈A}\{b∈B} will be shown.

  • 14. alluniq ; gives the infomation whether every line of a file contains all different or how the "multitudes" distributes. useful.

  • 15. digitdemog ; shows the character distributions for each digits from the left (not the right) of all the lines.

  • 16. entrolines ; calculates the "entropy" how each line values are different.

  • 17. venn ; outputs the table that represents the concept of the Venn diagram for given multiple files.

SEE ALSO