7 from headerutils import *
15 for x in sys.argv[1:]:
18 elif x[0:2] == "-f" and find == "":
21 replace.append (x[2:])
23 print ("Error: unrecognized option " + x)
32 print ("replace-header -fheader -rheader [-rheader] file1 [filen.]")
37 string = string + " '"+x+"'"
38 print ("Replacing '"+find+"' with"+string)
41 src = readwholefile (x)
42 src = find_replace_include (find, replace, src)
44 print (x + ": Changed")