Josenildo Marques ([EMAIL PROTECTED]) wrote: > Hi! > I'd like to have the searched pattern highlighted while grepping a file, > but I seem unable to do it. I really don't understand the --colour > switch. > Any tip, please ? Hi, put this in your ~/.bash_profile or ~/.bashrc export GREP_COLOR=31
colors being: foreground background 30 black 40 31 red 41 32 green 42 33 yellow 43 34 blue 44 35 magenta 45 36 cyan 46 37 white 47 or even 40 through 47 to highlight the background colors export GREP_COLOR=31,40 instead. HTH ;) p.s. sorry if this is the second post since I don't see the first one.. sympa must be playing havoc with me again. -- RickS Linux 2.6.11-6mdk-i686-up-4GB i686 AMD Athlon(tm) XP 2800+ ======================================================== Try not to be a person of success, but rather a person of virtue --Albert Einstein
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________
