summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjamescott <jscott@Ettores-MacBook-Pro-2.local>2014-09-25 12:10:09 -0700
committerjamescott <jscott@Ettores-MacBook-Pro-2.local>2014-09-25 12:10:09 -0700
commit6d634e95f3eac17db3c86283b703a9a255c88c05 (patch)
treee84ea0b07e9c319f73f96d8fe39e197ff8dab845
parent3834f3ab348341199194f3e930cc087114fe34d2 (diff)
downloadchef-6d634e95f3eac17db3c86283b703a9a255c88c05.tar.gz
update knife xargs man page examples
-rw-r--r--distro/common/man/man1/knife-xargs.16
1 files changed, 3 insertions, 3 deletions
diff --git a/distro/common/man/man1/knife-xargs.1 b/distro/common/man/man1/knife-xargs.1
index 67ee6cf959..ff78b2d068 100644
--- a/distro/common/man/man1/knife-xargs.1
+++ b/distro/common/man/man1/knife-xargs.1
@@ -154,7 +154,7 @@ The following examples show various ways of listing all nodes on the server, and
.sp
.nf
.ft C
-$ knife list \(aqnodes/*\(aq | knife xargs perl \-ex "s/grantmc/gmc"
+$ knife list \(aqnodes/*\(aq | knife xargs "perl \-i \-pe \(aqs/grantmc/gmc\(aq"
.ft P
.fi
.UNINDENT
@@ -166,7 +166,7 @@ or without quotes and the backslash escaped:
.sp
.nf
.ft C
-$ knife list /nodes/\e* | knife xargs perl \-ex "s/grantmc/gmc"
+$ knife list /nodes/\e* | knife xargs "perl \-i \-pe \(aqs/grantmc/gmc\(aq"
.ft P
.fi
.UNINDENT
@@ -178,7 +178,7 @@ or by using the \fB\-\-pattern\fP option:
.sp
.nf
.ft C
-$ knife xargs \-\-pattern \(aq/nodes.*\(aq perl \-ex "s/grantmc/gmc"
+$ knife xargs \-\-pattern \(aq/nodes.*\(aq "perl \-i \-pe \(aqs/grantmc/gmc\(aq"
.ft P
.fi
.UNINDENT