Checkout and replace script
First Claim
Patent Images
1. A method for editing computerized files, the method comprising:
- inputting a first string pattern, one or more instances of the first string pattern to be scanned for in one or more computerized files;
inputting a second string pattern to be substituted in place of the one or more instances of the first string pattern;
inputting one or more computerized files to be scanned for the one or more instances of the first string pattern;
scanning the one or more computerized files for the one or more instances of the first string pattern;
replacing each of the one or more instances of the first string pattern in the one or more computerized files with the second string pattern; and
automatically creating an audit annotation of the nature of the replacements made to the computerized files.
2 Assignments
0 Petitions
Accused Products
Abstract
Designated files are automatically scanned for instances of a first string pattern. When a text file containing an instance of the first string pattern is found, each instance of the first string pattern in the text file is automatically replaced with a second string pattern and an annotation of the nature of the changes made to the file automatically created. This process is automatically repeated on the remainder of the designated files until complete. Inputting an empty string as the second string pattern effects deletion of instances of the first string pattern in a file.
20 Citations
20 Claims
-
1. A method for editing computerized files, the method comprising:
-
inputting a first string pattern, one or more instances of the first string pattern to be scanned for in one or more computerized files;
inputting a second string pattern to be substituted in place of the one or more instances of the first string pattern;
inputting one or more computerized files to be scanned for the one or more instances of the first string pattern;
scanning the one or more computerized files for the one or more instances of the first string pattern;
replacing each of the one or more instances of the first string pattern in the one or more computerized files with the second string pattern; and
automatically creating an audit annotation of the nature of the replacements made to the computerized files. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method for editing computerized files, the method comprising:
-
inputting a first string pattern, one or more instances of the first string pattern to be scanned for in one or more computerized files;
inputting a second string pattern to be substituted in place of the one or more instances of the first string pattern;
inputting one or more computerized files to be scanned for instances of the first string pattern;
scanning the one or more computerized files for one or more instances of the first string pattern;
determining if a computerized file contains one or more instances of the first string pattern;
if a computerized file does not contain one or more instances of the first string pattern, determining if the computerized file is the last file to be scanned;
if the computerized file is not the last file to be scanned, returning to scanning the remaining one or more computerized files for one or more instances of the first string pattern;
if the computerized file is the last file to be scanned, the scanning of the files is complete, and ending the method;
if the computerized file does contain one or more instances of the first string pattern, determining what version control system is utilized with the computerized file;
determining if the computerized file is checked-out from the version control system;
if the computerized file is checked-out from the version control system, archiving the computerized file by checking-in the computerized file to the version control system;
if the computerized file is not checked-out from the version control system, checking-out the computerized file from the version control system;
replacing one or more instances of the first string pattern in the computerized file with the second string pattern;
checking in the computerized file including the replacements to the version control system;
automatically annotating the nature of the changes made to the computerized file in the version control system; and
returning to scanning the remaining one or more computerized files for one or more instances of the first string pattern. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17)
-
-
18. A computer program product having stored thereon computer readable instructions wherein execution of the computer readable instructions generates a method for editing computerized files, the method comprising:
-
inputting a first string pattern, one or more instances of the first string pattern to be scanned for in one or more computerized files;
inputting a second string pattern to be substituted in place of the one or more instances of the first string pattern;
inputting one or more computerized files to be scanned for the one or more instances of the first string pattern;
scanning the one or more computerized files for the one or more instances of the first string pattern;
replacing each of the one or more instances of the first string pattern in the one or more computerized files with the second string pattern; and
automatically creating an audit annotation of the nature of the replacements made to the computerized files. - View Dependent Claims (20)
-
-
19. A computer program product having stored thereon computer readable instructions wherein execution of the computer readable instructions generates a method for editing computerized files, the method comprising:
-
inputting a first string pattern, one or more instances of the first string pattern to be scanned for in one or more computerized files;
inputting a second string pattern to be substituted in place of the one or more instances of the first string pattern;
inputting one or more computerized files to be scanned for instances of the first string pattern;
scanning the one or more computerized files for one or more instances of the first string pattern;
determining if a computerized file contains one or more instances of the first string pattern;
if a computerized file does not contain one or more instances of the first string pattern, determining if the computerized file is the last file to be scanned;
if the computerized file is not the last file to be scanned, returning to scanning the remaining one or more computerized files for one or more instances of the first string pattern;
if the computerized file is the last file to be scanned, the scanning of the files is complete, and ending the method;
if the computerized file does contain one or more instances of the first string pattern, determining what version control system is utilized with the computerized file;
determining if the computerized file is checked-out from the version control system;
if the computerized file is checked-out from the version control system, archiving the computerized file by checking-in the computerized file to the version control system;
if the computerized file is not checked-out from the version control system, checking-out the computerized file from the version control system;
replacing one or more instances of the first string pattern in the computerized file with the second string pattern;
checking in the computerized file including the replacements to the version control system;
automatically annotating the nature of the changes made to the computerized file in the version control system; and
returning to scanning the remaining one or more computerized files for one or more instances of the first string pattern.
-
Specification