From 5bb6bd7131c47d6d942512fa1455e9dda9066b6e Mon Sep 17 00:00:00 2001 From: yangsong Date: Fri, 21 Jul 2017 05:12:52 -0500 Subject: [PATCH] fix issue noderange in xCAT commands might be broken by shell expansion #3319 (#3524) --- docs/source/guides/admin-guides/references/man3/noderange.3.rst | 2 ++ xCAT-client/pods/man3/noderange.3.pod | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/source/guides/admin-guides/references/man3/noderange.3.rst b/docs/source/guides/admin-guides/references/man3/noderange.3.rst index da8266d5e..2505ae4ae 100644 --- a/docs/source/guides/admin-guides/references/man3/noderange.3.rst +++ b/docs/source/guides/admin-guides/references/man3/noderange.3.rst @@ -59,6 +59,8 @@ Name conveniently specify a list of nodes. The result is that the command will be applied to a range of nodes, often in parallel. +To avoid shell expansion, \ **noderange**\ should better be quoted with single quotes('') or double quotes(""). + \ **noderange**\ is a comma-separated list. Each token (text between commas) in the list can be any of the forms listed below: diff --git a/xCAT-client/pods/man3/noderange.3.pod b/xCAT-client/pods/man3/noderange.3.pod index b89434bab..ea2d4bf47 100644 --- a/xCAT-client/pods/man3/noderange.3.pod +++ b/xCAT-client/pods/man3/noderange.3.pod @@ -36,6 +36,8 @@ B is a syntax that can be used in most xCAT commands to conveniently specify a list of nodes. The result is that the command will be applied to a range of nodes, often in parallel. +To avoid shell expansion, B should better be quoted with single quotes('') or double quotes(""). + B is a comma-separated list. Each token (text between commas) in the list can be any of the forms listed below: