2659: Remove obsolete "don't create jobs in workbench" rule.
[arvados.git] / doc / user / topics / run-command.html.textile.liquid
index 07f01acaebf2375908b863665ec34b99e66441a2..ca0045b3139d426e3b91280aec25e791453073e3 100644 (file)
@@ -18,7 +18,8 @@ The basic @run-command@ process evaluates its inputs and builds a command line,
 In the following examples, you can use "dry run mode" to determine the command line that @run-command@ will use without actually running the command.  For example:
 
 <notextile>
-<pre><code>~$ <span class="userinput">./run-command --dry-run --script-parameters '{
+<pre><code>~$ <span class="userinput">cd $HOME/arvados/crunch_scripts</span>
+~$ <span class="userinput">./run-command --dry-run --script-parameters '{
   "command": ["echo", "hello world"]
 }'</span>
 run-command: echo hello world
@@ -167,10 +168,7 @@ Generate a list of lists, where items are grouped on common subexpression match.
         "regex": "[^a]*(a?).*"},
   "command": ["echo", {"foreach": "$(b)",
                        "var": "b_var",
-                       "command": ["--group",
-                                   {"foreach": "$(b_var)",
-                                    "var": "c_var",
-                                    "command": "$(c_var)"}]}]
+                       "command": ["--group", "$(b_var)"]}]
 }
 </pre>