Sunday, May 23, 2010

grep --color


$cat textdomain.c
#include
#include
main()
{
char *textd;
textd=textdomain("iam happy");
printf("\n %s \n",textd);
}
$grep --color=auto hello textdomain.c
$grep --color=auto happy textdomain.c
textd=textdomain("iam happy");
$