I have a fixed length file that I need to strip certain fields out and generate a new file. Each line needs to start with DCHANGE and end with 000000~~~ (both of which are not in the input file). I tried to cut out the positions I want, but in the output file, they need to be in a different order, of which cut doesn't seem to like.
Any help would be appreciated.
Any help would be appreciated.