With
alias grep="grep --color=tty -I -s"
I tried, grep -i wyse /etc/termcap
and found it to be ainfully slow (taking maybe a minute).
Without the -i, it taks 0.1 seconds.

simplifying,
grep --color=tty -i wyse /etc/termcap
takes several seconds to show the first line.

It's very pretty, but why so slow?

grep --color=tty wyse /etc/termcap
is almost instant.

Liam

-- 
Liam Quin - XML Core staff contact, W3C, http://www.w3.org/People/Quin/
Ankh: irc.sorcery.net www.valinor.sorcery.net irc.gnome.org www.advogato.org
Author, Open Source XML Database Toolkit, Wiley August 2000
Co-author: The XML Specification Guide, Wiley 1999; Mastering XML, Sybex 2001

Reply via email to