Hi friends..
I am confused about awk printf option..
I have a comma separated file
88562848,21-JAN-08,2741079, -1188,-7433,TESTING
88558314,21-JAN-08,2741189, -1273,-7976,TESTING
and there is a line in my script ( written by someone else)
What is the use of command?
I guess %i is for integer and %s for - ? is it char or something?
apart from this..
I have to modify this script to deal with a semicolon separated file..(also includes comma in 4th and 5th place)
T900001;10-Dec-08;T245377;2,25;14,09;CM Inv;1001
900234;10-Jan-08;954201;0,44;2,78;CM Inv;1001
I tried substituting the above awk syntax with "," replaced by ";" but it doesnt work. it is giving me a awk syntax error.
Please help.