<commit_before># ColorTail

What does ColorTail do for me?

ColorTail provides a cool way for you to configure how logfiles (or any other files for that matter) look when you tail them.

## Installation

# Install the gem:
    gem install color-tail

## Using ColorTail

By default, ColorTail does absolutely nothing other than just tail a file normally (similar to the trust old unix tool 'tail -f').  But what good what writing a gem be if it just mimiced existing functionality.

## Conifguring ColorTail

Configuring ColorTail is easy.  In your home directory, create a file .colortailrc.  This file will contain a group of arrays similar to the ones laid out in the [example config](http://codaset.com/elubow/color-tail/examples/colortail.rb)<commit_msg>Added some markdown to see how my markdown skillz is progressing<commit_after># ColorTail #

What does ColorTail do for me?

ColorTail provides a cool way for you to configure how logfiles (or any other files for that matter) look when you tail them.

## Installation ##

### Install the gem ##
    gem install color-tail

## Using ColorTail ##

By default, ColorTail does absolutely nothing other than just tail a file normally (similar to the trust old unix tool 'tail -f').  But what good what writing a gem be if it just mimiced existing functionality.

## Conifguring ColorTail ##

Configuring ColorTail is easy.  In your home directory, create a file .colortailrc.  This file will contain a group of ruby arrays similar to the ones laid out in the [example config](http://codaset.com/elubow/color-tail/examples/colortail.rb).  These arrays are called groups.  Any group can be loaded via the command line using the **-g** switch (more on this [here](#tail-with-groups)).

## Usage ##

Using ColorTail is similar to using tail. The main assumption is that you will always be _indefinitely_ tail'ing a file.

#### Tailing with groups ####       {#tail-with-groups}

The command below will tail the **/var/log/messages** file using the syslog group. The [example config](http://codaset.com/elubow/color-tail/examples/colortail.rb) shows a _syslog_ grouping that is used in command below:

   # colortail -g syslog /var/log/messages

## Author ##

<NAME> <eric at lubow dot org>
 * Web: [http://eric.lubow.org/](http://eric.lubow.org)
 * Twitter: [elubow](http://twitter.com/elubow)
{'fraction_non_alphanumeric': 0.08408023900981647, 'fraction_numerical': 0.0, 'mean_word_length': 4.106753812636166, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2705202', 'n_tokens_mistral': 684, 'n_tokens_neox': 668, 'n_words': 313}