From ce65f31188cbadb18374da005d33d8aa2b0cf43a Mon Sep 17 00:00:00 2001 From: bp-sawyers Date: Mon, 1 Apr 2013 18:46:49 +0000 Subject: [PATCH] fixed typo in regex example in xcatdb man page git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15772 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/db2man | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/db2man b/perl-xCAT/db2man index b4dee191f..227372aef 100755 --- a/perl-xCAT/db2man +++ b/perl-xCAT/db2man @@ -207,7 +207,7 @@ Another example is if node1 is to have IP address 10.0.0.1, node2 is to have IP then this could be represented in the hosts table with the single row: #node,ip,hostnames,otherinterfaces,comments,disable - "compute","|node(\d+)|10.0.0.($1+0)|",",,, + "compute","|node(\d+)|10.0.0.($1+0)|",,,, In this example, the regular expression in the ip attribute uses "|" to separate the 1st and 2nd part. This means that xCAT will allow arithmetic operations in the 2nd part. In the 1st part, "(\d+)", will match the number part of the node