changeLine

Purpose:

Change a string in a line of a CyFlex datapoint file in the current directory.

Enter:

changeLine <filename> <old_string> <new_string>

Where:

filename Specify name of the CyFlex datapoint file to modify.
old_string Specify the existing string to search for and replace.
new_string Specify the new string to replace the old_string. \

Example:

changeLine string1 string 2 MYTESTID.*

The above command changes string1 to string2 in any datapoint file whose name begins with ‘MYTESTID’ in the current directory.  It reads each file and replaces ‘string1’ with ‘string2’.

Notes:

Ensure the file is in the current directory and contains a ‘.’ in its name. Invalid filenames will cause an error.

See Also: