cptcss (1) - Linux Manuals
cptcss: create CSS fragment for colouring HTML tables.
NAME
cptcss - create CSS fragment for colouring HTML tables.
SYNOPSIS
-
cptcss [-h] [-f
format] [-v] [-V] [file]
DESCRIPTION
The cpt file to use is specified by the final argument. If no cpt file is specified then the program will read from stdin. Output is written to stdout.
The input cpt should be a discrete (since the output CSS is) and each colour level in the file will lead to a CSS class directive for the <td> element. The class name can be modified from the default "cptcss-%i" by using the -f option.
OPTIONS
-h, --help
- Brief help.
-f, --format string
- The format to use for the <td> class name, which should include a single integer specifier "%i" which will enumerate the classes. The default value is "cptcss-%i".
-v, --verbose
- Verbose operation.
-V, --version
- Version information.