Project ID:
650955
Project Type:
Fixed
Budget:
$30-$250 USD
Project Description:
Write a Python script that does the following.
Read all files in a specific dictory, one by one, and after parsing write each file in another directory. The directories are parameters provided to the script.
The parsing does the following:
* All text that is not changed, is copied from the source to the destination file.
* Each time the string " UNM_COVER(xxx)" is encountered, where xxx is pure numeric content (0-9) of any length, replace this string with " UNM_COVER(i)", where i is a counter that starts at 1 and is incremented by 1 each time a replacement is done.
The resulting effect is that the numbers in the UNM_COVER(x) sections effectively get renumbered and each get assigned a unique number.
Skills required:
Aeronautical Engineering,
Python,
Shell Script