changeDartsTestid
Purpose:
Change the Test ID and/or offset the datapoint number in DARTS datapoint files in the current directory.
Enter:
-
changeDartsTestid <testid> <point_num_offset> <filename> [filename …]
Where:
-
testid
Specify the desired new Test ID.
point_num_offset
Specify the offset to add to the point number in the files.
NOTE: Enter 0 if no change is needed.filename
Specify the name of the DARTS file to modify. Wildcards are not directly handled in the code, but multiple filenames can be specified as separate arguments.
Example:
changeDartsTestid mytestid 0 MYTESTID.*
The above command changes a line in any DARTS datapoint file whose name begins with’MYTESTID.’ in the current directory. It reads each file and replaces the ‘testid’. for example, it changes ‘MYTESTID.313’ to ‘mytestid.313’.
changeDartsTestid mytestid 1 MYTESTID.*
The above command changes a line in any DARTS datapoint file whose name begins with ‘MYTESTID.’ in the current directory. It reads each file and replaces the ‘testid’. Since 1 was entered for the offset the above example changes to ‘MYTESTID.313’ to ‘mytestid.314’ because 1 was used as the offset. This also changes the datapoint number in the datapoint file the same way with the offset.
Notes:
Be sure to change to the directory containing the files to be changed before entering the command.