Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 4c655f294f301256fad2aa074d63e32d > files > 5

grep-2.7-1.fc14.1.x86_64.rpm

#! /bin/csh -f

# color-grep initialization

set COLORS=/etc/GREP_COLORS

if ( -e "$COLORS" ) then
    set color_none=`sed -n '/^COLOR.*none/Ip' < $COLORS`
    if ( "$color_none" != '' ) then
        unset color_none
        exit
    endif
    unset color_none
endif

alias grep 'grep --color=auto'