Skip to content

j-c-m/blackcat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blackcat

A modern cat written in Zig (https://ziglang.org)

  • Support Kitty graphics protocol for displaying images in supported terminals. (https://sw.kovidgoyal.net/kitty/graphics-protocol/)
  • Support for ANSI terminal rendering mode (auto-detected)
  • Support for CP437/DOS to Unicode conversion (auto-detected)
  • Mostly GNU cat compatible otherwise

Usage

USAGE: blackcat [OPTION]... [FILE]...

Concatenate FILE(s) to standard output.

With no FILE, or when FILE is -, read standard input.

Options:
  -a, --ansi[=WIDTH]        force ANSI terminal rendering mode (default width 80)
  -A, --show-all            equivalent to -vET
  -b, --number-nonblank     number nonempty output lines, overrides -n
  -c, --cp437               force CP437 to Unicode
  -e                        equivalent to -vE
  -E, --show-ends           display $ at end of each line
  -k, --no-image            disable image rendering via Kitty protocol
  -n, --number              number all output lines
  -s, --squeeze-blank       suppress repeated empty output lines
  -t                        equivalent to -vT
  -T, --show-tabs           display TAB characters as ^I
  -v, --show-nonprinting    use ^ and M- notation, except for LFD and TAB
      --help                display this help and exit
      --version             output version information and exit

EXAMPLES
  blackcat f - g      Output f's contents, then stdin, then g's contents.
  blackcat            Copy stdin to stdout.

About

blackcat - a modern cat written zig

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages