colorplus
0.31 (2018-07-10)
colorplus [-0] [-n N|-3|-4] [-c colorname] [-e N[,N[,N..]]] [-l N] [-s REGEX] [-t N] [-/ char] colorplus [--help [opt|en]] [--version]
Put colors (ASCII color escape sequnces) parts on text data such as numerical parts, columns cyclically, text matching specific regular expressions. Useful to look around CSV/TSV files with a pager LESS (less -R).
Remove colors (remove all the ASCII color escape sequences).
Put colors on numerical characters. Every neighboring N digits from the bottom of a numerical character sequence has a same color. Cyan, green, yellow are used to colorize.
Same as the specification -n 3.
Same as the specification -n 4.
Speficy the colorname. It can be "blue", "red", "yellow", and also "on_while", "underline" and so on. See the ASCII color escape sequences.
Any operation by "colorplus" is exemplified on the lines specified by the number(s) beginning from 1. -0 is also cancelled on the specified lines, thus in this case, the input color on the specified line will survive.
One line from every N lines are colored. The default color : "on_blue".
The matched charcter string by the regular expression specified will be colored.
Every neighboring N column(s) has a same color such as "untouched" and "on_blue". "On_blue" can be changed by the colorname specified by "-b".
The column delimiter. Default value is a tab character (\x{09}). IF '' (empty string) is specified, each character in the input text is regarded as a column.
Show this help.
Show Japanese help manual.
Show the version of this program.
colorplus -n 3 # Every number is colorized 3 digits by 3 digits.
colorplus -t 5 # Every 5 columns is cyclically colorized.
colorplus -s "hello" -b bright_yellow # Specific character string is colorized.
Toshiyuki Shimono <bin4tsv@gmail.com>
Copyright 2018 "Toshiyuki Shimono".
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
To install App::Bin4TSV, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Bin4TSV
CPAN shell
perl -MCPAN -e shell install App::Bin4TSV
For more information on module installation, please visit the detailed CPAN module installation guide.