Code:
Last login: Wed Feb 19 20:51:09 on ttys000
AMIGA:barrywalker~> ./csv_test.sh
abcd,789756,20140211,20140202,464532.00,C,XZY,,,Settlement of purchase.,,1
abcd,795156,20140211,20140202,548962.52,C,JPY,,,Payement to: tokyo BNF=N,,1
abcd,763256,20140211,20140202,42188.80,C,USD,,,recieved from ,,1
abcd,756556,20140211,20140202,456898.28,C,EUR,,,Payment via.,,1
abcd,732656,20140211,20140202
,58461.10,C,INR,,,Settlement of purchase.,,1
abcd,798756,20140211,20140202,323156.82,C,AUD,,,Settlement of purchase.,,1
abcd,789856,20140211,20140202,84621.63,C,CHF,,,Settlement of sale no B35453 EUR 471.60,,1
abcd,785456,20140211,20140202,86421.40,C,USD,,,Settlement of purchase.,,1
abcd,789756,20140211,20140202,464532.00,C,XZY,,,Settlement of purchase.,,1
abcd,795156,20140211,20140202,548962.52,C,JPY,,,Payement to: tokyo BNF=N,,1
abcd,763256,20140211,20140202,42188.80,C,USD,,,recieved from ,,1
abcd,756556,20140211,20140202,456898.28,C,EUR,,,Payment via.,,1
abcd,732656,20140211,20140202
,58461.10,C,INR,,,Settlement of purchase.,,1
abcd,798756,20140211,20140202,323156.82,C,AUD,,,Settlement of purchase.,,1
abcd,789856,20140211,20140202,84621.63,C,CHF,,,Settlement of sale no B35453 EUR 471.60,,1
abcd,785456,20140211,20140202,86421.40,C,USD,,,Settlement of purchase.,,1
abcd,789756,20140211,20140202,464532.00,C,XZY,,,Settlement of purchase.,,1
abcd,795156,20140211,20140202,548962.52,C,JPY,,,Payement to: tokyo BNF=N,,1
abcd,763256,20140211,20140202,42188.80,C,USD,,,recieved from ,,1
abcd,756556,20140211,20140202,456898.28,C,EUR,,,Payment via.,,1
abcd,732656,20140211,20140202
,58461.10,C,INR,,,Settlement of purchase.,,1
abcd,798756,20140211,20140202,323156.82,C,AUD,,,Settlement of purchase.,,1
abcd,789856,20140211,20140202,84621.63,C,CHF,,,Settlement of sale no B35453 EUR 471.60,,1
abcd,785456,20140211,20140202,86421.40,C,USD,,,Settlement of purchase.,,1
Start the corrections...
abcd,789756,20140211,20140202,464532.00,C,XZY,,,Settlement of purchase.,,1
abcd,795156,20140211,20140202,548962.52,C,JPY,,,Payement to: tokyo BNF=N,,1
abcd,763256,20140211,20140202,42188.80,C,USD,,,recieved from ,,1
abcd,756556,20140211,20140202,456898.28,C,EUR,,,Payment via.,,1
abcd,732656,20140211,20140202,58461.10,C,INR,,,Settlement of purchase.,,1
abcd,798756,20140211,20140202,323156.82,C,AUD,,,Settlement of purchase.,,1
abcd,789856,20140211,20140202,84621.63,C,CHF,,,Settlement of sale no B35453 EUR 471.60,,1
abcd,785456,20140211,20140202,86421.40,C,USD,,,Settlement of purchase.,,1
abcd,789756,20140211,20140202,464532.00,C,XZY,,,Settlement of purchase.,,1
abcd,795156,20140211,20140202,548962.52,C,JPY,,,Payement to: tokyo BNF=N,,1
abcd,763256,20140211,20140202,42188.80,C,USD,,,recieved from ,,1
abcd,756556,20140211,20140202,456898.28,C,EUR,,,Payment via.,,1
abcd,732656,20140211,20140202,58461.10,C,INR,,,Settlement of purchase.,,1
abcd,798756,20140211,20140202,323156.82,C,AUD,,,Settlement of purchase.,,1
abcd,789856,20140211,20140202,84621.63,C,CHF,,,Settlement of sale no B35453 EUR 471.60,,1
abcd,785456,20140211,20140202,86421.40,C,USD,,,Settlement of purchase.,,1
abcd,789756,20140211,20140202,464532.00,C,XZY,,,Settlement of purchase.,,1
abcd,795156,20140211,20140202,548962.52,C,JPY,,,Payement to: tokyo BNF=N,,1
abcd,763256,20140211,20140202,42188.80,C,USD,,,recieved from ,,1
abcd,756556,20140211,20140202,456898.28,C,EUR,,,Payment via.,,1
abcd,732656,20140211,20140202,58461.10,C,INR,,,Settlement of purchase.,,1
abcd,798756,20140211,20140202,323156.82,C,AUD,,,Settlement of purchase.,,1
abcd,789856,20140211,20140202,84621.63,C,CHF,,,Settlement of sale no B35453 EUR 471.60,,1
abcd,785456,20140211,20140202,86421.40,C,USD,,,Settlement of purchase.,,1
00000000 61 62 63 64 2c 37 38 39 37 35 36 2c 32 30 31 34 |abcd,789756,2014|
00000010 30 32 31 31 2c 32 30 31 34 30 32 30 32 2c 34 36 |0211,20140202,46|
00000020 34 35 33 32 2e 30 30 2c 43 2c 58 5a 59 2c 2c 2c |4532.00,C,XZY,,,|
00000030 53 65 74 74 6c 65 6d 65 6e 74 20 6f 66 20 70 75 |Settlement of pu|
00000040 72 63 68 61 73 65 2e 2c 2c 31 0a 61 62 63 64 2c |rchase.,,1.abcd,|
00000050 37 39 35 31 35 36 2c 32 30 31 34 30 32 31 31 2c |795156,20140211,|
00000060 32 30 31 34 30 32 30 32 2c 35 34 38 39 36 32 2e |20140202,548962.|
00000070 35 32 2c 43 2c 4a 50 59 2c 2c 2c 50 61 79 65 6d |52,C,JPY,,,Payem|
00000080 65 6e 74 20 74 6f 3a 20 74 6f 6b 79 6f 20 42 4e |ent to: tokyo BN|
00000090 46 3d 4e 2c 2c 31 0a 61 62 63 64 2c 37 36 33 32 |F=N,,1.abcd,7632|
000000a0 35 36 2c 32 30 31 34 30 32 31 31 2c 32 30 31 34 |56,20140211,2014|
000000b0 30 32 30 32 2c 34 32 31 38 38 2e 38 30 2c 43 2c |0202,42188.80,C,|
000000c0 55 53 44 2c 2c 2c 72 65 63 69 65 76 65 64 20 66 |USD,,,recieved f|
000000d0 72 6f 6d 20 2c 2c 31 0a 61 62 63 64 2c 37 35 36 |rom ,,1.abcd,756|
000000e0 35 35 36 2c 32 30 31 34 30 32 31 31 2c 32 30 31 |556,20140211,201|
000000f0 34 30 32 30 32 2c 34 35 36 38 39 38 2e 32 38 2c |40202,456898.28,|
00000100 43 2c 45 55 52 2c 2c 2c 50 61 79 6d 65 6e 74 20 |C,EUR,,,Payment |
00000110 76 69 61 2e 2c 2c 31 0a 61 62 63 64 2c 37 33 32 |via.,,1.abcd,732|
00000120 36 35 36 2c 32 30 31 34 30 32 31 31 2c 32 30 31 |656,20140211,201|
00000130 34 30 32 30 32 2c 35 38 34 36 31 2e 31 30 2c 43 |40202,58461.10,C|
00000140 2c 49 4e 52 2c 2c 2c 53 65 74 74 6c 65 6d 65 6e |,INR,,,Settlemen|
00000150 74 20 6f 66 20 70 75 72 63 68 61 73 65 2e 2c 2c |t of purchase.,,|
00000160 31 0a 61 62 63 64 2c 37 39 38 37 35 36 2c 32 30 |1.abcd,798756,20|
00000170 31 34 30 32 31 31 2c 32 30 31 34 30 32 30 32 2c |140211,20140202,|
00000180 33 32 33 31 35 36 2e 38 32 2c 43 2c 41 55 44 2c |323156.82,C,AUD,|
00000190 2c 2c 53 65 74 74 6c 65 6d 65 6e 74 20 6f 66 20 |,,Settlement of |
000001a0 70 75 72 63 68 61 73 65 2e 2c 2c 31 0a 61 62 63 |purchase.,,1.abc|
000001b0 64 2c 37 38 39 38 35 36 2c 32 30 31 34 30 32 31 |d,789856,2014021|
000001c0 31 2c 32 30 31 34 30 32 30 32 2c 38 34 36 32 31 |1,20140202,84621|
000001d0 2e 36 33 2c 43 2c 43 48 46 2c 2c 2c 53 65 74 74 |.63,C,CHF,,,Sett|
000001e0 6c 65 6d 65 6e 74 20 6f 66 20 73 61 6c 65 20 6e |lement of sale n|
000001f0 6f 20 42 33 35 34 35 33 20 45 55 52 20 34 37 31 |o B35453 EUR 471|
00000200 2e 36 30 2c 2c 31 0a 61 62 63 64 2c 37 38 35 34 |.60,,1.abcd,7854|
00000210 35 36 2c 32 30 31 34 30 32 31 31 2c 32 30 31 34 |56,20140211,2014|
00000220 30 32 30 32 2c 38 36 34 32 31 2e 34 30 2c 43 2c |0202,86421.40,C,|
00000230 55 53 44 2c 2c 2c 53 65 74 74 6c 65 6d 65 6e 74 |USD,,,Settlement|
00000240 20 6f 66 20 70 75 72 63 68 61 73 65 2e 2c 2c 31 | of purchase.,,1|
00000250 0a 0a 61 62 63 64 2c 37 38 39 37 35 36 2c 32 30 |..abcd,789756,20|
00000260 31 34 30 32 31 31 2c 32 30 31 34 30 32 30 32 2c |140211,20140202,|
00000270 34 36 34 35 33 32 2e 30 30 2c 43 2c 58 5a 59 2c |464532.00,C,XZY,|
00000280 2c 2c 53 65 74 74 6c 65 6d 65 6e 74 20 6f 66 20 |,,Settlement of |
00000290 70 75 72 63 68 61 73 65 2e 2c 2c 31 0a 61 62 63 |purchase.,,1.abc|
000002a0 64 2c 37 39 35 31 35 36 2c 32 30 31 34 30 32 31 |d,795156,2014021|
000002b0 31 2c 32 30 31 34 30 32 30 32 2c 35 34 38 39 36 |1,20140202,54896|
000002c0 32 2e 35 32 2c 43 2c 4a 50 59 2c 2c 2c 50 61 79 |2.52,C,JPY,,,Pay|
000002d0 65 6d 65 6e 74 20 74 6f 3a 20 74 6f 6b 79 6f 20 |ement to: tokyo |
000002e0 42 4e 46 3d 4e 2c 2c 31 0a 61 62 63 64 2c 37 36 |BNF=N,,1.abcd,76|
000002f0 33 32 35 36 2c 32 30 31 34 30 32 31 31 2c 32 30 |3256,20140211,20|
00000300 31 34 30 32 30 32 2c 34 32 31 38 38 2e 38 30 2c |140202,42188.80,|
00000310 43 2c 55 53 44 2c 2c 2c 72 65 63 69 65 76 65 64 |C,USD,,,recieved|
00000320 20 66 72 6f 6d 20 2c 2c 31 0a 61 62 63 64 2c 37 | from ,,1.abcd,7|
00000330 35 36 35 35 36 2c 32 30 31 34 30 32 31 31 2c 32 |56556,20140211,2|
00000340 30 31 34 30 32 30 32 2c 34 35 36 38 39 38 2e 32 |0140202,456898.2|
00000350 38 2c 43 2c 45 55 52 2c 2c 2c 50 61 79 6d 65 6e |8,C,EUR,,,Paymen|
00000360 74 20 76 69 61 2e 2c 2c 31 0a 61 62 63 64 2c 37 |t via.,,1.abcd,7|
00000370 33 32 36 35 36 2c 32 30 31 34 30 32 31 31 2c 32 |32656,20140211,2|
00000380 30 31 34 30 32 30 32 2c 35 38 34 36 31 2e 31 30 |0140202,58461.10|
00000390 2c 43 2c 49 4e 52 2c 2c 2c 53 65 74 74 6c 65 6d |,C,INR,,,Settlem|
000003a0 65 6e 74 20 6f 66 20 70 75 72 63 68 61 73 65 2e |ent of purchase.|
000003b0 2c 2c 31 0a 61 62 63 64 2c 37 39 38 37 35 36 2c |,,1.abcd,798756,|
000003c0 32 30 31 34 30 32 31 31 2c 32 30 31 34 30 32 30 |20140211,2014020|
000003d0 32 2c 33 32 33 31 35 36 2e 38 32 2c 43 2c 41 55 |2,323156.82,C,AU|
000003e0 44 2c 2c 2c 53 65 74 74 6c 65 6d 65 6e 74 20 6f |D,,,Settlement o|
000003f0 66 20 70 75 72 63 68 61 73 65 2e 2c 2c 31 0a 61 |f purchase.,,1.a|
00000400 62 63 64 2c 37 38 39 38 35 36 2c 32 30 31 34 30 |bcd,789856,20140|
00000410 32 31 31 2c 32 30 31 34 30 32 30 32 2c 38 34 36 |211,20140202,846|
00000420 32 31 2e 36 33 2c 43 2c 43 48 46 2c 2c 2c 53 65 |21.63,C,CHF,,,Se|
00000430 74 74 6c 65 6d 65 6e 74 20 6f 66 20 73 61 6c 65 |ttlement of sale|
00000440 20 6e 6f 20 42 33 35 34 35 33 20 45 55 52 20 34 | no B35453 EUR 4|
00000450 37 31 2e 36 30 2c 2c 31 0a 61 62 63 64 2c 37 38 |71.60,,1.abcd,78|
00000460 35 34 35 36 2c 32 30 31 34 30 32 31 31 2c 32 30 |5456,20140211,20|
00000470 31 34 30 32 30 32 2c 38 36 34 32 31 2e 34 30 2c |140202,86421.40,|
00000480 43 2c 55 53 44 2c 2c 2c 53 65 74 74 6c 65 6d 65 |C,USD,,,Settleme|
00000490 6e 74 20 6f 66 20 70 75 72 63 68 61 73 65 2e 2c |nt of purchase.,|
000004a0 2c 31 0a 0a 61 62 63 64 2c 37 38 39 37 35 36 2c |,1..abcd,789756,|
000004b0 32 30 31 34 30 32 31 31 2c 32 30 31 34 30 32 30 |20140211,2014020|
000004c0 32 2c 34 36 34 35 33 32 2e 30 30 2c 43 2c 58 5a |2,464532.00,C,XZ|
000004d0 59 2c 2c 2c 53 65 74 74 6c 65 6d 65 6e 74 20 6f |Y,,,Settlement o|
000004e0 66 20 70 75 72 63 68 61 73 65 2e 2c 2c 31 0a 61 |f purchase.,,1.a|
000004f0 62 63 64 2c 37 39 35 31 35 36 2c 32 30 31 34 30 |bcd,795156,20140|
00000500 32 31 31 2c 32 30 31 34 30 32 30 32 2c 35 34 38 |211,20140202,548|
00000510 39 36 32 2e 35 32 2c 43 2c 4a 50 59 2c 2c 2c 50 |962.52,C,JPY,,,P|
00000520 61 79 65 6d 65 6e 74 20 74 6f 3a 20 74 6f 6b 79 |ayement to: toky|
00000530 6f 20 42 4e 46 3d 4e 2c 2c 31 0a 61 62 63 64 2c |o BNF=N,,1.abcd,|
00000540 37 36 33 32 35 36 2c 32 30 31 34 30 32 31 31 2c |763256,20140211,|
00000550 32 30 31 34 30 32 30 32 2c 34 32 31 38 38 2e 38 |20140202,42188.8|
00000560 30 2c 43 2c 55 53 44 2c 2c 2c 72 65 63 69 65 76 |0,C,USD,,,reciev|
00000570 65 64 20 66 72 6f 6d 20 2c 2c 31 0a 61 62 63 64 |ed from ,,1.abcd|
00000580 2c 37 35 36 35 35 36 2c 32 30 31 34 30 32 31 31 |,756556,20140211|
00000590 2c 32 30 31 34 30 32 30 32 2c 34 35 36 38 39 38 |,20140202,456898|
000005a0 2e 32 38 2c 43 2c 45 55 52 2c 2c 2c 50 61 79 6d |.28,C,EUR,,,Paym|
000005b0 65 6e 74 20 76 69 61 2e 2c 2c 31 0a 61 62 63 64 |ent via.,,1.abcd|
000005c0 2c 37 33 32 36 35 36 2c 32 30 31 34 30 32 31 31 |,732656,20140211|
000005d0 2c 32 30 31 34 30 32 30 32 2c 35 38 34 36 31 2e |,20140202,58461.|
000005e0 31 30 2c 43 2c 49 4e 52 2c 2c 2c 53 65 74 74 6c |10,C,INR,,,Settl|
000005f0 65 6d 65 6e 74 20 6f 66 20 70 75 72 63 68 61 73 |ement of purchas|
00000600 65 2e 2c 2c 31 0a 61 62 63 64 2c 37 39 38 37 35 |e.,,1.abcd,79875|
00000610 36 2c 32 30 31 34 30 32 31 31 2c 32 30 31 34 30 |6,20140211,20140|
00000620 32 30 32 2c 33 32 33 31 35 36 2e 38 32 2c 43 2c |202,323156.82,C,|
00000630 41 55 44 2c 2c 2c 53 65 74 74 6c 65 6d 65 6e 74 |AUD,,,Settlement|
00000640 20 6f 66 20 70 75 72 63 68 61 73 65 2e 2c 2c 31 | of purchase.,,1|
00000650 0a 61 62 63 64 2c 37 38 39 38 35 36 2c 32 30 31 |.abcd,789856,201|
00000660 34 30 32 31 31 2c 32 30 31 34 30 32 30 32 2c 38 |40211,20140202,8|
00000670 34 36 32 31 2e 36 33 2c 43 2c 43 48 46 2c 2c 2c |4621.63,C,CHF,,,|
00000680 53 65 74 74 6c 65 6d 65 6e 74 20 6f 66 20 73 61 |Settlement of sa|
00000690 6c 65 20 6e 6f 20 42 33 35 34 35 33 20 45 55 52 |le no B35453 EUR|
000006a0 20 34 37 31 2e 36 30 2c 2c 31 0a 61 62 63 64 2c | 471.60,,1.abcd,|
000006b0 37 38 35 34 35 36 2c 32 30 31 34 30 32 31 31 2c |785456,20140211,|
000006c0 32 30 31 34 30 32 30 32 2c 38 36 34 32 31 2e 34 |20140202,86421.4|
000006d0 30 2c 43 2c 55 53 44 2c 2c 2c 53 65 74 74 6c 65 |0,C,USD,,,Settle|
000006e0 6d 65 6e 74 20 6f 66 20 70 75 72 63 68 61 73 65 |ment of purchase|
000006f0 2e 2c 2c 31 0a 0a |.,,1..|
000006f6
AMIGA:barrywalker~> _