Not to br one to complain but all this does is make an exact copy of the INFILE ever time. Maybe Im not helping amidst all the confusion : I dont want to copy the entire file if there is errors just the sections which contain errors. So if a section between one of the "Rebuild All...
Ok that works : brilliant !!! Thanx a million ! Really got me out of a stick spot !
One final question if ur interested : what would you think would be the best way to test if the errors value is not equal to 0
i.e. only copy the sections which have errors
e.g.
copy :
------ Rebuild All...
Duncan this is working : just that it works backwards i.e. it copies everything beside whats between
Rebuild All started
and
Building satellite assemblies...
need to remove strings from a huge scripe made of thousands of the following :
------ Rebuild All started: Project: Types, Configuration: Debug .NET
------
Preparing resources...
Updating references...
Performing main compilation...
Build complete -- 0 errors, 0 warnings
Building satellite...
Want to search for a reoccuring string in a file and then copy from the string to a another given string : is this possible using perl ?
Any advice on how to code it properly cause my recent attempts are just creating errors.
Dan
Have a txt file set up as url e.g. http://www.website.com/file.txt and it contains a number e.g. 00012 : need to retrive this number (which i can do) and modify the value in an applet and then send it back to that url : is it possible ?
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.