should detect if stdout is being piped to another tool #6

Closed
anotherjesse opened this Issue Aug 10, 2011 · 1 comment

Projects

None yet

3 participants

@anotherjesse

if you alias cat to lolcat then try to pipe into other tools (grep, less, ...) the lolcat barfs all over you grep.

@busyloop busyloop pushed a commit that closed this issue Aug 11, 2011
@m-o-e m-o-e Lolcat second edition.
* Doesn't add color when stdout is not a tty (Fixes #6)
* Strips color from stdin before adding its own (Fixes #5)
* Now supports animation and fancy config switches
* Error messages imitate what 'cat' would say
6baa540
@busyloop busyloop closed this in 6baa540 Aug 11, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment