[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#253621: [ef]grep check



On Fri, Jun 18, 2004 at 09:43:11PM -0400, Clint Adams wrote:
> > What is the rationale behind this? Could you please explain that
> > further?
> 
> Since nowadays egrep and fgrep are just shell scripts that run
> 'grep -E' or 'grep -F', running grep directly is always faster.
> 
> Furthermore, I believe that some people are working on POSIXifying base
> for some embedded applications; grep -[EF] are mandated by POSIX,
> [ef]grep are not.
> 
> This is not a major issue, but the only downside of adding it to lintian
> would be potentially annoying people.

Which is not the intention, lintian's goal is to warn people about
often-made mistakes that potentially hurt... Since Debian supports
egrep/fgrep, well... When we have more fine-grained severities, maybe a
waring in the lowest severity. Using perl and not /bin/sh in postinst
also is bad for performance, but we don't warn for that either.

--Jeroen

-- 
Jeroen van Wolffelaar
Jeroen@wolffelaar.nl (also for Jabber & MSN; ICQ: 33944357)
http://Jeroen.A-Eskwadraat.nl



Reply to: