I collect data in a file in below format(Month Day Year Size) in RedHat Linux. Now i want to calculate the data size date wise. As i code shell script after long time, i forgot the features and syntax. Can anyone help me regard this please.
Feb 8 2014 15
Feb 10 2014 32
Feb 10 2014 32
Feb 12 2014 15
Feb 12 2014 15
---------- Post updated at 11:24 AM ---------- Previous update was at 10:57 AM ----------
Data collected for only 5 days. So, i have to calculate with more data (for single day, may be 5-10 entry)
---------- Post updated at 11:48 AM ---------- Previous update was at 11:24 AM ----------
Output format will be like this:
Feb 8 2014 15
Feb 10 2014 64
Feb 12 2014 30