Quantcast
Channel: How to colorize the output of grep
Browsing all 3 articles
Browse latest View live

A sincere question

Why does grep (and other tools) do this kind of thing by default yet (maybe via a build switch)? - TGM

View Article



Here's a utility to select color and attribute

#!/bin/sh # colorsel # make ANSI attribute/color string (the values only) - bjd # not all attributes are used here TPUT=tput ${TPUT} clear #echo -en "33[H33[J" # attributes: # 0 = all attributes off #...

View Article

...

I don't have an answer for your question TGM... bjd I've fixed some missing spaces in your source. However still it doesn't seem to work correctly for me. - axel

View Article
Browsing all 3 articles
Browse latest View live




Latest Images