User Commands  - tat (1)

NAME

tat(1f) - [M_attr] filter terminal attribute strings (LICENSE:MIT)

CONTENTS

Synopsis
Description
Options
Examples
Limitations
Author
License

SYNOPSIS

tat [[string(s)][ --chars N] [ --prefix STR] [ --manner MODE] ]| [ --help| --version]

DESCRIPTION

tat(1) ("Terminal Attributes") is like cat(1), except it processes special strings in the input specifying terminal attributes such as color and underlining using an HTML-like syntax via the M_attr(3f) module.

OPTIONS

STRINGS
  if present process and print these strings instead of reading and processing stdin.
--manner
  Set output mode ("color"|"plain"|"raw"). Default is "color".
--chars
  column to fill background color out to. Default is 0 (zero); meaning to not padd the lines. Note multi-byte character sets and non-printable characters will not work properly with this option, but typical plain ASCII will.
--prefix
  string to place in from of input lines from stdin. Typically used to set background and text color, as with "<B><w><bo>".
--help display this help and exit
--version
  output version information and exit

EXAMPLES

Sample commands

     cmd|tat -chars 132 -prefix "<B><w>"
     tat "<clear><B><w><bo><CSI>12;36f Good Morning!"
     tat --chars 80 --prefix "<B><w>"

LIMITATIONS

AUTHOR

John S. Urban

LICENSE

    MIT


Nemo Release 3.1 tat (1) February 23, 2025
Generated by manServer 1.08 from f27c28c0-b22b-4b13-8b91-10dca26c2fa2 using man macros.