bug-grep
[Top][All Lists]
Advanced

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

[bug-grep] Re: grep: -i option not working i cronjobs


From: Andreas Schwab
Subject: [bug-grep] Re: grep: -i option not working i cronjobs
Date: Sun, 14 Nov 2004 20:31:21 +0100
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

Aharon Robbins <address@hidden> writes:

> My problem with REG_ICASE is that it's a regex-compile-time bit. I'd
> rather it be a regex-execute-time bit, since in gawk the use of
> IGNORECASE can be changed around dynamically.

That's not a real problem.  You can compile both forms and use the
appropriate one for matching depending on the current value of IGNORECASE.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]