Hallo Team,
my little grep script captures patterns for the whole of April (extasc_cdr_201304*.bz2) but now i would like to capture my patterns per day from 1st April till 30th April (extasc_cdr_20130401*.bz2 till extasc_cdr_20130430*.bz2)
Here is my script below:
HTML Code:
bzgrep ',9100,\|,9101,\|,9102,\|,9103,\|,9104,\|,9105,\|,9106,\|,9150,\|,9151,\|,9152,\|,9153,\|,9200,\|,9201,\|,9202,\|,9203,\|,9300,\|,9301,\|,9302,\|,9303,\|,9304,\|,9305,\|,9400,\|,9401,\|,9510,\|,9511,' extasc_cdr_201304*.bz2 | bzgrep -v "0\.000" | cut -d"," -f14 | bzgrep '9100\|9101\|9102\|9103\|9104\|9105\|9106\|9150\|9151\|9152\|9153\|9200\|9201\|9202\|9203\|9300\|9301\|9302\|9303\|9304\|9305\|9400\|9401\|9510\|9511' | wc -l