Re: Passing variables to awk

2007-11-01 Thread Andreas Schwab
TimtheEagle <[EMAIL PROTECTED]> writes: This is actually all unrelated to bash. > + awk -v 'var1=Framed-IP-Address = 10\.6\.6\.' '/*** Received from > 10.242.252.20 port 1645 /{ last_acct_status = NR; as = $0 }/Code: `*' and `.' are special in regexps, you need to quote them to match t

Passing variables to awk

2007-11-01 Thread TimtheEagle
e not been able to remove it even though I suspect it would solve the problem. Thanks for any help in advance - please tell me if there is a more appropriate forum. Cheers Tim -- View this message in context: http://www.nabble.com/Passing-variables-to-awk-tf4730133.html#a13525369 Sent from the Gnu - Bash mailing list archive at Nabble.com.