Hi Gurus,
I am working with a korn shell script to simplify some operations of creation file of spool for a Bulk-Copy. Thi is my code:
In a for cycle:
gzcat ${file} |awk '{ print substr($0,1,5)";"substr($0,108,122)";"substr($0,124,131)";"substr($0,139,152)";"substr($0,154,163)";"}' >> FileBcp.bcp
but in output I don't get only the interested columns, but the more columns the whole line...
This is what I would want:
43031;20110128080700;ALBAM01;0;20110128080700;001234567;
questo � quello che ottengo:
43031;20110128080700;ALBAM01;0;20110128080700;001234567;012535007124830 *TAP3V1*03314 *393291408157 *033; ; ;00 ;012535007124830 *TAP3V1*03314 *393291408157 *03314* * 1111 +; ;00 ;012535007124830 *TAP3V1*03314 *393291408157 *03314* * 1111 +010032 355680200*;
where is the error?
I would want to bring on an only file