I am experiment Bots with Linux and I have the following issue that I need help for making the result right
For example i convert cvs file to EDI X12
EDI X12 look like this (part of the file of EDI 210 X12)
ST*210*0029~^M
B3**1619*00023330253M*CC**20160122*8031500**20160119*035*VRLT~^M
N9*CN*VIRGO_LTL~^M
N9*GT*896693249RT~^M
G62*11*20160119~^M
G62*86*20160119~^M
Whats changes I have to do and where in order to get the result like this in linux
ST*210*0029
B3**1619*00023330253M*CC**20160122*8031500**20160119*035*VRLT
N9*CN*VIRGO_LTL
N9*GT*896693249RT
G62*11*20160119
G62*86*20160119
I also converting EDI X12 to cvs file (in this case EDI 204 X12 to cvs file
cvs file look like this (part of the cvs file)
0204HL11|00023516015M|IL|^M
0204HL11|TPXPRSS_PW04|08|Loblaw Carrier ID^M
0204HAT5|53^M
0204HNTE|CBH|CAD^M
0204HNTE|RPT|From T5V to T9V, 316 Miles^M
0204HDN1|BT|AOP Inc.^M
Whats changes I have to do and where in order to get the result like this in linux
0204HL11|00023516015M|IL|
0204HL11|TPXPRSS_PW04|08|Loblaw Carrier ID
0204HAT5|53
0204HNTE|CBH|CAD
0204HNTE|RPT|From T5V to T9V, 316 Miles
0204HDN1|BT|AOP Inc.
I will appreciated any help
Regards
Antonio