Many thanks Patrick. I will fix this in the next version. -Tom
---------- Forwarded message ----------
Date: Wed, 17 Feb 1999 13:21:44 +0100
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: tomsrtbt
Dear Tom
Your distribution is very useful. Thank you very much for your effort!
I'm using your distribution version 1.7.102 and I detected a little bug:
The switch '-i' of the application grep doesn't work. After the study of
the script 'grep.awk' I found the reason: The switch '-i' set the variable
IGNORECASE. But the used version of awk has not a built-in variable with
that name. So I modified the script 'grep.awk' in the following way:
Replace the statement
matches = ($0 ~ pattern)
by
if (IGNORECASE == 1)
matches = (toupper($0) ~ toupper(pattern))
else matches = ($0 ~ pattern)
After that, grep worked well. I hope, you'll find this information
helpful.
Kind regards,
Patrick Zumb�hl
_____________________________________________
Atraxis AG
CGAR
CH-8058 Zurich Airport
Phone: ++41 1 812 22 88
Telefax: ++41 1 812 91 42
Telex: HDQXBSR
E-Mail: [EMAIL PROTECTED]