Search Results

Search: Posts Made By: Prabhakar Y
3,547
Posted By Prabhakar Y
I have used below code FileRowCount=`wc -l...
I have used below code

FileRowCount=`wc -l ${DATADIR}/${file} | awk '{print $1-1}'`


But this is counting all the records in the data file but I need to count only rows starting with "E," i.e...
3,547
Posted By Prabhakar Y
Row Count in .csv file
Hi,
I have to find the count of rows starting with "E," in given a.csv file .



Sample Data File.


E,2333AED,A,MC3,25,31-MAY-18
E,2333AED,A,MC3,25,31-MAY-18
CYMC3 25AED 0000...
Showing results 1 to 2 of 2

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