Really sorry to Triple-post, but I keep figuring new things out on my own.
My only problem is replacing with a number if one is given.
8.0.0.0
*.5.3.0
shoud give me
8.5.3.0
Any help would be greatly appreciated.
No editing posts?
My only problems now are being able to write to the file I started with and probably the most important is being able to replace with numbers..
8.0.0.0
*.5.3.0
shoud give me
8.5.3.0
That works. Is there a way to re-direct it back into the original version file ver.txt? When I try that, I end up with a blank text file.
Also, there are three lines that are produced and I only want the last one, how should I grab that?
Hey all, I am trying to write a script that will take a mask in, such as
+.*.*.*
which will run on a text file containing only a version number, like:
1.0.0.0
and will update the text file according to the mask. The output should be
2.0.0.0.
AND IT IS. But putting the result on the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.