Search Results

Search: Posts Made By: bhaskarjha178
15,595
Posted By bhaskarjha178
Got it. it works fine with a tmp file. Thanks a...
Got it. it works fine with a tmp file. Thanks a lot for ur time.
15,595
Posted By bhaskarjha178
Thanks, it worked out for me at the first time....
Thanks, it worked out for me at the first time. Sorry for not updating the blog.

---------- Post updated 07-21-09 at 12:47 PM ---------- Previous update was 07-20-09 at 03:37 PM ----------

Hi,...
15,595
Posted By bhaskarjha178
hey Kshiji, Thanks for the reply. Please...
hey Kshiji,
Thanks for the reply.

Please note that I have to do this inside the script.
I cannot use to store in an output file like
nawk -f csv2pipe.awk raw.txt > result.txt

I want to use...
15,595
Posted By bhaskarjha178
Pass input and output file as parameter to awk script
Hi,
i am new to awk. I am using csv2pipe script(shown below)

BEGIN { FS=SUBSEP; OFS="|" }
{
result = setcsv($0, ",")
print
}
# setcsv(str, sep) - parse CSV (MS specification) input...
Showing results 1 to 4 of 4

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