Print

Print


Commit in SlacMCPrj/scripts on MAIN
hosts.sh+40added 1.1
noric-all.sh-151.1 removed
+40-15
1 added + 1 removed, total 2 files
Added script to output hostnames of all interactive machines.

SlacMCPrj/scripts
hosts.sh added at 1.1
diff -N hosts.sh
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ hosts.sh	12 Jul 2005 18:19:46 -0000	1.1
@@ -0,0 +1,40 @@
+#!/bin/sh
+
+# Simple script to output names of all 
+# batch machines, for usage with xargs,
+# backtick exec, etc.
+#
+# example
+#
+# for n in $(noric-all.sh); do echo $n; done
+#
+
+# noric
+for n in `seq -w 10`
+do
+  echo noric$n
+  if [ "$n" == "08" ]; then
+    break
+  fi
+done
+
+# iris
+for n in `seq -w 10`
+do
+  echo iris$n
+  if [ "$n" == "03" ]; then
+    break
+  fi
+done
+
+# yakut
+for n in `seq -w 10`
+do
+  echo yakut$n
+  if [ "$n" == "08" ]; then
+    break
+  fi
+done
+
+# Inxcron
+echo Inxcron01

SlacMCPrj/scripts
noric-all.sh removed after 1.1
diff -N noric-all.sh
--- noric-all.sh	11 Jul 2005 18:43:34 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-# Simple script to output names of all 
-# noric machines, for usage with xargs,
-# backtick exec, etc.
-#
-# example
-#
-# for n in $(noric-all.sh); do echo $n; done
-#
-
-for n in `seq -w 15`
-do
-  echo noric$n
-done
CVSspam 0.2.8