Search Results

Search: Posts Made By: harry123
868
Posted By harry123
Function with awk script
Hi Team,
i want to create a function with below code and call it my script as
total=function_name <filename> ,filename should be parameter to be passed.
its a .ksh
pls advice!
awk -F'"' ' ...
4,037
Posted By harry123
Hi RudiC, This below code i am using as part of...
Hi RudiC,
This below code i am using as part of a script ,now how can i use this nf value for further processing.


awk -F'"' ' {nf += gsub(/,/, ",") + 1 for(i = 2; i <= NF; i...
4,037
Posted By harry123
Hi RudiC, Below code gives the out put as below...
Hi RudiC,
Below code gives the out put as below
bc,pqrs,1234,567,hhh result:5 2.abc,pqrs,1234,567,hhh,"in,valid",end12 result:7i want the total_count as 12(5+7) and so on ..if more records as...
4,037
Posted By harry123
Thanks ! Don..it will also work.. ----------...
Thanks ! Don..it will also work..

---------- Post updated 04-22-16 at 01:25 AM ---------- Previous update was 04-21-16 at 07:38 AM ----------

Hi Don,
can i get total count of columns in out...
4,037
Posted By harry123
Validate csv file
Hi guys,
i want to validate the no.of colums in a csv file ,but if there is a comma(,) in any of the data values it should skip and count only valid (,) commas.
e.g
1.abc,pqrs,1234,567,hhh
result...
Showing results 1 to 5 of 5

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