Skip to content
Advertisement

How to parse fix message to JSON format by Linux command [closed]

I have fix message file that would needed to be converted to JSON format, like below. How can I use a shell script to convert these?

From:

JavaScript

To:

JavaScript

Advertisement

Answer

I assume that the omission of 9=451 in the desired output was an accident.

JavaScript

And here annotations to explain how it works:

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement