Changes for version 1.44 - 2014-04-24

  • SECURITY
    • map/grep/cond: Only eval string code when run under cli. If called through apply() or ?dux?() (which means, in-process), disallow it to avoid running untrusted Perl string code. This is motivated by Text::ANSITable allowing reading formats from environment variables and apply it using apply().
  • REMOVED FEATURES
    • Remove deprecated module Data::Unixish::List.

Modules

Implementation for Unixish, a data transformation framework
Apply one or more dux functions to data
Utility routines
Average numbers
Format bool
Pass input unchanged
Center text to a certain column width
Apply dux function conditionally
Format date
Output the first items of data
Add spaces or tabs to the beginning of each line of text
Convert text to lowercase
Convert first character of text to lowercase
Add some text at the beginning of each line of text
Add line numbers
Pad text to the left until a certain column width
Strip whitespace at the beginning of each line of text
Format number
Pick one or more random items
Generate a stream of random numbers
Generate a stream of random strings
Reverse items
Add some text at the end of each line of text
Pad text to the right until a certain column width
Strip whitespace at the end of each line of text
Shuffle items
Sort items
Apply sprintf() on input
Like sprintf, but use sprintfn() from Text::sprintfn
Sum numbers
Output the last items of data
Strip whitespace at the beginning and end of each line of text
Truncate string to a certain column width
Convert text to uppercase
Convert first character of text to uppercase
Print newline, word, and byte counts
Output a string repeatedly until killed
Routines to test Data::Unixish