G'day I am using 2.2.19 Eigerstein beta. I have a bit of a question about expr.
I have the following line in a script to work out what the network address is. network=`expr $ptpaddr : '\([0-9]*\.[0-9]*\.[0-9]*\.\)'`0 This works ok under red hat linux, but lrp gives # bash test exp: arith: syntax error: "192.168.9.234 : \([0-9]*\.[0-9]*\.[0-9]*\.\)" Does anyone have a workaround for this. I am trying to automate the process of setting up the VPN links with CIPE rather than hard coding the ip address directly. John _______________________________________________ Leaf-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user
