Search Results

Search: Posts Made By: Elly
6,955
Posted By Elly
Hi RavinderSingh13, thank you very much, I...
Hi RavinderSingh13, thank you very much,

I have made some tests with your help and for my case, It's much more comfortable for me this way:

awk 'BEGIN{FS=",";}{ if (substr($5,1,8)=="20161208")...
6,955
Posted By Elly
Thank you, it works!!! There is some way to...
Thank you, it works!!!

There is some way to save the result in an array and the sum it to get only value?
6,955
Posted By Elly
Count lines with awk if statements
Hi Everybody,

I wanna count lines in many files, but only if they meet a condition, I have something like this,

cat /path1/usr/STAT/GPRS/ESTCOL_GPRS_2016* | awk 'BEGIN{FS=",";}{ if...
4,571
Posted By Elly
Hi Don Cragun, I am sorry by the confusion, ...
Hi Don Cragun, I am sorry by the confusion,

1. The number of unique occurrences, how many times uniques files
egrep -i ALK_01P ESTCOL_GPRS_201611* | egrep -i "cdr,20161116" | awk -F"," '{print...
4,571
Posted By Elly
Hi RudiC, I am sorry my mistake, I was not clear...
Hi RudiC, I am sorry my mistake, I was not clear up, so, look:

I have a directoy with files .CSV with names like this : ESTCOL_GPRS_201611*, these files are a lot, in the * are hour, Minute and...
4,571
Posted By Elly
Shell script count lines and sum numbers from multiple files
I want to count the number of lines, I need this result be a number, and sum the last numeric column, I had done to make this one at time, but I need to make this for a crontab, so, it has to be an...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 08:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy