Skip to content
Hemanth B edited this page Jun 15, 2025 · 6 revisions

Welcome to the FIX wiki!

Command to execute FIX Message Parser

awk -f FIXtest.awk fix.log

Command to execute FIX Message Parser if SOH is message seperator

awk -F"\001" -f FIXtest.awk fix.log

Reference: https://stackoverflow.com/questions/2602538/split-a-line-of-text-in-bash-using-soh-delimiter

Alternative with alias

[root@uat1 ~]# echo -e "8=FIX.4.2\x019=100\x0135=D\x01" | sed 's/\x01/|/g'
8=FIX.4.2|9=100|35=D|
[root@uat1 ~]# echo -e "8=FIX.4.2\x019=100\x0135=D\x01" | awk '{ gsub("\x01", "|"); print }'
8=FIX.4.2|9=100|35=D|

Test in vagrant

[root@uat1 ~]# alias t='tr '\''\01\02\03\04\05'\'' '\''|{}:;'\'''
[root@uat1 ~]# echo -e "8=FIX.4.2\x019=100\x0135=D\x01" | t
8=FIX.4.2|9=100|35=D|

Clone this wiki locally