In the 10th column i need to convert the month name into month number in this case JUL will be 7 and append the 10th and 11th column which shows me the output as 709. Can you suggest a shell script or which commands should i go for ,i tried doing awk and sed but not getting the desired output.
Sorry, i couldnt understand the logic, actually i need unix commands to get the output. I am currently using ksh
---------- Post updated at 07:43 AM ---------- Previous update was at 07:40 AM ----------
I tried this command awk '{print $10 $11}' FS="," test.txt | sed -e "s/JUL/7/g" but that gives me the output as "7""09" whereas i need only 709 without double quotes.
---------- Post updated at 07:46 AM ---------- Previous update was at 07:43 AM ----------
This command only goes if i consider july as the month