App-ansicolumn

 view release on metacpan or  search on metacpan

README.md  view on Meta::CPAN

    -B,  --border[=#]    print border with optional style
    -F,  --fillup[=#]    fill-up unit (pane|page|none)

    --height=#           page height
    --column-unit=#      column unit (default 8)
    --margin=#           column margin width (default 1)
    --linestyle=#        folding style (none|truncate|wrap|wordwrap)
    --boundary=#         line-end boundary
    --linebreak=#        line-break mode (none|all|runin|runout)
    --runin=#            run-in width
    --runout=#           run-out width
    --runlen=#           set both run-in and run-out width
    --[no-]pagebreak     allow page break
    --border-style=#     border style
    --label POS=TEXT         pane border label
    --page-label POS=TEXT    page border label
    --[no-]ignore-space  ignore space in table output
    --[no-]white-space   allow white spaces at the top of each pane
    --[no-]isolation     page-end isolated line
    --tabstop=#          set tab width
    --tabhead=#          tab-head character
    --tabspace=#         tab-space character
    --tabstyle=#         tab style
    --ambiguous=#        ambiguous character width (narrow|wide)
    --pages              split file by formfeed
    --colormap=#         color mapping (LABEL=COLOR)

Table style options:

    -t,  --table           table style output
    -A,  --table-align     align table output to column unit
    -T,  --table-tabs      align items by tabs
    -TT                    reformat tab aligned text
    -R#, --table-right=#   right adjust table columns
         --table-center=#  center table columns
    -K#, --table-remove=#  discard specified columns
         --item-format=#   apply sprintf format to each cell
         --table-squeeze   remove all-empty columns
         --padding         pad last column to full width

Default alias options:

    --board-color FG BG    board style pages with FG and BG colors
    --white-board          black on white board
    --black-board          white on black board
    --green-board          white on green board
    --slate-board          white on dark slategray board

# VERSION

Version 1.5702

# DESCRIPTION

**ansicolumn** is a [column(1)](http://man.he.net/man1/column) command clone that can handle ANSI
terminal sequences, backspaces, and Asian wide characters.  It
supports traditional options, some of the Linux extended options, and
many of its own original options.

<div>
    <p><img width="750" src="https://raw.githubusercontent.com/tecolicom/App-ansicolumn/master/images/ac-grep.png">
</div>

In addition to normal operation, table style output (`-t`) is
supported as well.

<div>
    <p><img width="750" src="https://raw.githubusercontent.com/tecolicom/App-ansicolumn/master/images/ac-table.png">
</div>

In contrast to the original [column(1)](http://man.he.net/man1/column) command which handles mainly
short item lists, and the Linux variant which has been expanded to have
rich table style output, **ansicolumn(1)** has been expanded to show
text files in a multi-column view.  Combined with pagination and a
document-friendly folding mechanism, it can be used as a document
viewing preprocessor for a pager program.

<div>
    <p><img width="750" src="https://raw.githubusercontent.com/tecolicom/App-ansicolumn/master/images/ac-man.png">
</div>

To accurately display file contents, blank lines that were ignored by
the original [column(1)](http://man.he.net/man1/column) command are preserved.

When multiple files are given as arguments, it enters parallel
view mode and shows all files in parallel.  This is convenient for viewing
multiple files side-by-side.

<div>
    <p><img width="750" src="https://raw.githubusercontent.com/tecolicom/App-ansicolumn/master/images/ac-cell.png">
</div>

## COMPATIBLE OPTIONS

The column utility formats its input into multiple columns.  Rows are
filled before columns.  Input is taken from _file_ operands, or, by
default, from the standard input.

- **-w**#, **-c**#, **--width**=#, **--output-width**=#

    Output is formatted for a display _#_ columns wide.  See ["CALCULATION"](#calculation)
    section.

    Accepts `-c` for compatibility, but `-w` is more popular.

- **-s**#, **--separator**=#

    Specify a set of characters to be used to delimit columns for the `-t`
    option.  When used with the `--regex-sep` or `-r` option, it is
    treated as a regex rather than a character set.

- **-t**, **--table**

    Determine the number of columns the input contains and create a
    table.  Columns are delimited with whitespace, by default, or
    with the characters supplied using the `-s` option.  Useful for
    pretty-printing displays.

    Unlike the original [column(1)](http://man.he.net/man1/column) command, empty fields are not ignored.

- **-l**#, **--table-columns-limit**=#

    Specify the maximum number of input columns.  The last column will
    contain all remaining line data if the limit is smaller than the
    number of columns in the input data.

    If the value is negative (default is -1), trailing empty fields are
    preserved.  This is useful when processing tables with empty cells
    at the end of rows.  Set to 0 to ignore trailing empty fields.

- **-x**, **--fillrows**

    Fill columns before filling rows.

- **-o**#, **--output-separator**=#

    When the `--table` or `-t` option is used, columns are joined by two
    space characters (' ') by default.  This option changes the separator.

- **-R**#, **--table-right**=#

    Right align text in the specified columns.  Multiple columns are separated by
    commas.  Only numbers are supported.

    Parameters are parsed by the [Getopt::EX::Numbers](https://metacpan.org/pod/Getopt%3A%3AEX%3A%3ANumbers) module, so you can
    specify a range of numbers, as in `-R2:5` which is equivalent to
    `-R2,3,4,5`. Option `-R:` makes all fields right-aligned.

- **--table-center**=#



( run in 1.536 second using v1.01-cache-2.11-cpan-788537b7465 )