The node list can be specified through the environment variable $NODES

$ NODES=n0000,n1111 xrx date
Thu Oct 30 12:43:50 MDT 2008
Thu Oct 30 12:45:11 MDT 2008


Index: utils/xrx.c
===================================================================
--- utils/xrx.c (revision 709)
+++ utils/xrx.c (working copy)
@@ -371,7 +371,7 @@
        if (env)
                env = process(env);
 
-       if(!allflag)
+       if(!allflag && ((ndstr = getenv("NODES")) == NULL))
                ndstr = argv[optind++];
 
        if (!attach) {

Signed-off-by: Abhishek Kulkarni <[EMAIL PROTECTED]>

Reply via email to