Hi,
One of the pattern that I use in awk, comes with round brackets; hence awk is not working correctly.
The pattern I am using is 'High water mark (bytes)'. As this pattern has 'bytes' enclosed within brackets, awk is not working...
lne="High water mark (bytes) = 65536 High water mark (bytes) = 105536"
echo $lne | awk -F "High water mark (bytes)" '{print $2}'
I tried using backslash to escape the special meaning of '('; but it did not help.
echo $lne | awk -F "High water mark \(bytes\)" '{print $2}'
Please hlep.
Thanks in advance,
Sudha.