Search Results

Search: Posts Made By: anaga
10,710
Posted By anaga
am using ksh. perl -MText::ParseWords -nle '...
am using ksh.

perl -MText::ParseWords -nle ' @f = parse_line(",",2, $_); tr/,//d for @f; print join ",", @f ' tmp.csv


here is the error


cmrwc7:/wcdev/home/db_maint> perl...
10,710
Posted By anaga
@radoulov awk dint work and perl gave the...
@radoulov

awk dint work and perl gave the below error


syntax error at -e line 1, near "tr/,//d for "
Execution of -e aborted due to compilation errors.
10,710
Posted By anaga
how to make it generic? the comma may not precede...
how to make it generic? the comma may not precede ".com" always. It can be in any field.
10,710
Posted By anaga
Removing comma "," in a field value in csv file
Hi,

I have csv file with records as below. Now i have remove any comma in the filed value because that creates problem when i feed this file to an application.

for example below are two sample...
Forum: Programming 06-23-2009
12,792
Posted By anaga
fpmurphy, I dont have much experience. Can...
fpmurphy,

I dont have much experience. Can you pleae make me understandable by the above statement. What should I run @ command prompt?
12,823
Posted By anaga
I got the below error! can you help me? ...
I got the below error! can you help me?

/qawac/home/tbnaadh/tcl/expect-5.43 $ make

/opt/SUNWspro/WS6U2/bin/acc -c -I. -I. -I/qawac/home/tbnaadh/tcl/tcl8.5.7/generic ...
Forum: Programming 06-18-2009
12,792
Posted By anaga
I downloaded the Expect from...
I downloaded the Expect from "http://expect.nist.gov/#unix.". I have the below said header file on my system.

/qawac/home/tbnaadh/tcl/tcl8.5.7/unix/tclUnixPort.h

Why isn't make could not figure...
Forum: Programming 06-18-2009
12,792
Posted By anaga
Here is the error message!!
/export/home/tbnaadh/tcl/expect-5.43 $ make test

/opt/SUNWspro/WS6U2/bin/acc -c -I. -I. -I/qawac/home/tbnaadh/tcl/tcl8.5.7/generic -DEXP_VERSION=\"5.43.0\" -DSCRIPTDIR=\"/expor...
Forum: Programming 06-17-2009
12,792
Posted By anaga
Installing EXPECT on unix
Friends,

I thought of installing EXPECT but unable to execute 'make', its throwing errors. Am not a 'root' user, will I not be able to install EXPECT in my home directory?
Showing results 1 to 9 of 9

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