I mean, the most important are two last columns. They determine file name.
Condition is: take all records that match two last colums, split them into one file and name it like examples above.
I use RHEL 6.1. I try to split it from shell script. Any ideas?
I tried to use split command, some loops but I couldn't get the point.
I was also searching on this forum (and some others) but couldn't find anything like this. (fact, there is plenty of similar cases..but not this one).
---------- Post updated at 09:19 AM ---------- Previous update was at 09:15 AM ----------
That works amazing
Big thanks to You!:)
---------- Post updated at 09:58 AM ---------- Previous update was at 09:19 AM ----------
Let me just ask last question.
I need to add a current date YYYYMMDD to filename. So, finally it should be: