Index: /trunk/psLib/src/parseErrorCodes.pl
===================================================================
--- /trunk/psLib/src/parseErrorCodes.pl	(revision 1748)
+++ /trunk/psLib/src/parseErrorCodes.pl	(revision 1748)
@@ -0,0 +1,95 @@
+#!/usr/bin/perl
+
+# Provides functions for handling long command line options
+use Getopt::Long;
+
+my @ErrorCodes        = ();
+my @ErrorDescriptions = ();
+
+my $data = "psErrorCodes.dat";
+
+# Assign variables based on the presence of command line options to the script
+GetOptions(
+    "data=s"  => \$data,
+    "verbose" => \$verbose,
+    "help"    => \$help
+);
+
+if ($help) {
+    print "Usage: parseErrorCodes ", "[--data=$data] ", "[--help] ",
+      "[--verbose] filename [filename ...]\n\n";
+    exit(0);
+}
+
+print "Using data file '$data'\n" if $verbose;
+unless ( open( DATAFILE, "<", $data ) ) {
+    die "Can not open data file $data.";
+}
+
+print "Datafile:\n" if $verbose;
+while (<DATAFILE>) {
+    chop;
+    if (/^\s*\#/) {
+        print "C $_\n" if $verbose;
+    }
+    else {
+        /^\s*(\w+)\s+([\%\w].*)/;
+        my $ErrorCode        = $1;
+        my $ErrorDescription = $2;
+        print "  $ErrorCode: '$ErrorDescription'\n" if $verbose;
+        push( @ErrorCodes,        $ErrorCode );
+        push( @ErrorDescriptions, $ErrorDescription );
+
+    }
+}
+close(DATAFILE);
+
+my $found = $#ErrorCodes + 1;
+print "\nFound $found error codes.\n" if $verbose;
+
+foreach (@ARGV) {
+    my $filename = $_;
+    my @result   = ();
+
+    die "Failed to open input file"
+      if !open( INFILE, "<", $filename );
+
+    print "\nOutput File:\n" if $verbose;
+    while (<INFILE>) {
+        chop;
+        push( @result, $_ );
+        if (/^\s*\/\/~Start(.*)$/) {
+            $line = $1;
+            for ( $n = 0 ; $n < $found ; $n++ ) {
+                $_ = $line;
+                s/\$1/$ErrorCodes[$n]/g;
+                s/\$2/$ErrorDescriptions[$n]/g;
+                s/\$n/$n/g;
+                push( @result, $_ );
+                print "$_\n" if $verbose;
+            }
+
+            $break = 0;
+            while ( ( $break == 0 ) && ( $_ = <INFILE> ) ) {
+                if (/^\s*\/\/~End/) {
+                    $break = 1;
+                }
+            }
+            chop;
+            push( @result, $_ );
+        }
+    }
+
+    close(INFILE);
+
+    die "Failed to overwrite input file"
+      if !open( OUTFILE, ">", $filename );
+
+    foreach (@result) {
+        print OUTFILE "$_\n";
+        print "$_\n" if $verbose;
+    }
+
+    close(OUTFILE);
+
+}
Index: /trunk/psLib/src/sys/psErrorCodes.c
===================================================================
--- /trunk/psLib/src/sys/psErrorCodes.c	(revision 1747)
+++ /trunk/psLib/src/sys/psErrorCodes.c	(revision 1748)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-09-08 00:09:06 $
+ *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-09-09 02:24:18 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
Index: /trunk/psLib/src/sys/psErrorCodes.h
===================================================================
--- /trunk/psLib/src/sys/psErrorCodes.h	(revision 1747)
+++ /trunk/psLib/src/sys/psErrorCodes.h	(revision 1748)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-09-08 00:09:06 $
+ *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-09-09 02:24:18 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
Index: /trunk/psLib/src/sysUtils/Makefile
===================================================================
--- /trunk/psLib/src/sysUtils/Makefile	(revision 1747)
+++ /trunk/psLib/src/sysUtils/Makefile	(revision 1748)
@@ -3,6 +3,6 @@
 ##  Makefile:   sysUtils
 ##
-##  $Revision: 1.20 $  $Name: not supported by cvs2svn $
-##  $Date: 2004-09-07 19:05:07 $
+##  $Revision: 1.21 $  $Name: not supported by cvs2svn $
+##  $Date: 2004-09-09 02:24:18 $
 ##
 ##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -47,11 +47,11 @@
 
 psErrorCodes.h: psErrorCodes.dat
-	perl parseErrorCodes.pl --data=$? $@
+	perl ../parseErrorCodes.pl --data=$? $@
 
 psErrorCodes.c: psErrorCodes.dat
-	perl parseErrorCodes.pl --data=$? $@
+	perl ../parseErrorCodes.pl --data=$? $@
 
 psSysUtilsErrors.h: psSysUtilsErrors.dat
-	perl parseErrorCodes.pl --data=$? $@
+	perl ../parseErrorCodes.pl --data=$? $@
 
 
Index: unk/psLib/src/sysUtils/parseErrorCodes.pl
===================================================================
--- /trunk/psLib/src/sysUtils/parseErrorCodes.pl	(revision 1747)
+++ 	(revision )
@@ -1,95 +1,0 @@
-#!/usr/bin/perl
-
-# Provides functions for handling long command line options
-use Getopt::Long;
-
-my @ErrorCodes        = ();
-my @ErrorDescriptions = ();
-
-my $data = "psErrorCodes.dat";
-
-# Assign variables based on the presence of command line options to the script
-GetOptions(
-    "data=s"  => \$data,
-    "verbose" => \$verbose,
-    "help"    => \$help
-);
-
-if ($help) {
-    print "Usage: parseErrorCodes ", "[--data=$data] ", "[--help] ",
-      "[--verbose] filename [filename ...]\n\n";
-    exit(0);
-}
-
-print "Using data file '$data'\n" if $verbose;
-unless ( open( DATAFILE, "<", $data ) ) {
-    die "Can not open data file $data.";
-}
-
-print "Datafile:\n" if $verbose;
-while (<DATAFILE>) {
-    chop;
-    if (/^\s*\#/) {
-        print "C $_\n" if $verbose;
-    }
-    else {
-        /^\s*(\w+)\s+([\%\w].*)/;
-        my $ErrorCode        = $1;
-        my $ErrorDescription = $2;
-        print "  $ErrorCode: '$ErrorDescription'\n" if $verbose;
-        push( @ErrorCodes,        $ErrorCode );
-        push( @ErrorDescriptions, $ErrorDescription );
-
-    }
-}
-close(DATAFILE);
-
-my $found = $#ErrorCodes + 1;
-print "\nFound $found error codes.\n" if $verbose;
-
-foreach (@ARGV) {
-    my $filename = $_;
-    my @result   = ();
-
-    die "Failed to open input file"
-      if !open( INFILE, "<", $filename );
-
-    print "\nOutput File:\n" if $verbose;
-    while (<INFILE>) {
-        chop;
-        push( @result, $_ );
-        if (/^\s*\/\/~Start(.*)$/) {
-            $line = $1;
-            for ( $n = 0 ; $n < $found ; $n++ ) {
-                $_ = $line;
-                s/\$1/$ErrorCodes[$n]/g;
-                s/\$2/$ErrorDescriptions[$n]/g;
-                s/\$n/$n/g;
-                push( @result, $_ );
-                print "$_\n" if $verbose;
-            }
-
-            $break = 0;
-            while ( ( $break == 0 ) && ( $_ = <INFILE> ) ) {
-                if (/^\s*\/\/~End/) {
-                    $break = 1;
-                }
-            }
-            chop;
-            push( @result, $_ );
-        }
-    }
-
-    close(INFILE);
-
-    die "Failed to overwrite input file"
-      if !open( OUTFILE, ">", $filename );
-
-    foreach (@result) {
-        print OUTFILE "$_\n";
-        print "$_\n" if $verbose;
-    }
-
-    close(OUTFILE);
-
-}
Index: /trunk/psLib/src/sysUtils/psErrorCodes.c
===================================================================
--- /trunk/psLib/src/sysUtils/psErrorCodes.c	(revision 1747)
+++ /trunk/psLib/src/sysUtils/psErrorCodes.c	(revision 1748)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-09-08 00:09:06 $
+ *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-09-09 02:24:18 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
Index: /trunk/psLib/src/sysUtils/psErrorCodes.h
===================================================================
--- /trunk/psLib/src/sysUtils/psErrorCodes.h	(revision 1747)
+++ /trunk/psLib/src/sysUtils/psErrorCodes.h	(revision 1748)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-09-08 00:09:06 $
+ *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-09-09 02:24:18 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
Index: /trunk/psLib/src/sysUtils/psSysUtilsErrors.h
===================================================================
--- /trunk/psLib/src/sysUtils/psSysUtilsErrors.h	(revision 1747)
+++ /trunk/psLib/src/sysUtils/psSysUtilsErrors.h	(revision 1748)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-09-08 21:22:47 $
+ *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-09-09 02:24:18 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
