synesthesia

command module
v0.0.0-...-bd19ece Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2023 License: MIT Imports: 7 Imported by: 0

README

Synesthesia

A tool for basic syntax highlighting of arbitrary text files and streams.

Overview

Synesthesia takes regular expressions and uses them to colorize stdin. Moreover, identical matches are colored with the same color, making it a good tool for visualizing large files or streaming data.

image

Installation

At the moment, just put the synesthesia script file in your PATH and make it executable.

Usage

synesthesia ([flags]|[patterns])... [-- [patterns]...]

Where patterns are any valid Python regular expressions and flags are any of the following flags. Multiple patterns are or'd together in the order they are provided. Multiple flags controlling the same parameter may also be specified; the last one specified for that parameter will be used.

Flags:
-b --background     Turn on or off background colorization. (default off)
   --no-background
-f --foreground     Turn on or off foreground colorization. (default on)
   --no-foreground
-h --help           Print usage information.

License

Synesthesia is licensed under the MIT license. The full license is in the LICENSE file.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL