SlicDiagnostics
diff -N makeLcioFileList.sh
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ makeLcioFileList.sh 1 Sep 2005 03:20:59 -0000 1.1
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+cygcheck=$(uname | grep CYGWIN)
+
+pat="*.slcio"
+
+if [ -n "$1" ]; then
+ pat="*${1}*.slcio"
+fi
+
+filedir=/cygdrive/c/work/lcio_data/sidaug05/slcio/slic
+
+if [ -n "$2" ]; then
+ filedir=${2}
+fi
+
+file="lcioFiles.txt"
+
+if [ -n "$3" ]; then
+ file="$3"
+fi
+
+for f in $(ls $filedir/${pat})
+do
+ outfile=$f
+ if [ -n "$cygcheck" ]; then
+ outfile=$(cygpath -w $outfile)
+ fi
+ echo $outfile >> $file
+done