Hi,
i have a file with fixed record length with the following content (only one sentence)
12345678901234567890123456789012345678901234567890
12345678 87654321 hugo meyer friedhofpaul
the numbers above are only the column-positions and not part of the file!
Now i want to copy the content from column 10 to 17 (87654321) to start at column 31. Unfortunately i do not know what content is from column 10 to 17. It must override the columns starting from 31!
Afterwards it should look like this:
12345678 87654321 hugo meyer f87654321aul
Is there a chance to do this with a script? Maybe with sed ?
Kind Regards
FranzB