Help with a perl script
i need help to fix this script for my new problem, the script was made by bigearsbilly, i tried only to edit it but failed, so i ask here what to do being unable to contact him.
this is the script
then put them into another file on a particular position (looks after a SDEF pos= card)
saves the file with a filename according to the line number from where the coordinate was taken
what i need to change is this
about 5 or 6 lines before, in the file i need to edit, there is another card that needs to be edited with the same coordinates that go into the SDEF pos= place..
the line looks like:
the spaces are mandatory, there are 5 spaces between RCC and the first number and five spaces between the last number and the 0.55 diameter.
I was thinking about adding this to the routine:
what should i do?
thank you for your help
i think there are two problems:
one is the syntax i should use to run the two find and change operations
second is the regex expression linked to the additional line i need to edit:
moreover it doesn't retain the coords that follows, so in the end i get something like this:
what is the correct regex? i spent 3 hours yesterday reading tutorials and guides but still i couldn't make it work (or better, now it does do something at least after i added the additional routine, but is still too far from the perfect working order of when bigearsbilly gave me)
Thank you for your help
this morning i had an hint from a friend and
i edited this way:
but could it work?
|All times are GMT -5. The time now is 11:53 AM.|