111 reputation
3
bio website
location Santa Cruz, CA
age 28
visits member for 2 years, 1 month
seen Jul 18 at 16:42

Ph.D. Student of Computer Engineering at University of California, Santa Cruz.

M.Sc. in Computer Science from University of Calgary.

B.Sc. in Computer Engineering from Sharif University of Technology.


May
19
awarded  Supporter
Oct
10
comment Change currency format to generic number using sed
sounds like I do not have permission to install additional libraries on this computer. I'll try to have it installed on my own machine later today and see if I can work it out. Thanks :)
Oct
10
comment Change currency format to generic number using sed
Thanks @tink. I tried to run your script on the file, but it is getting too long to terminate. The command I ran was cat data.csv | awk -f csv.awk > updated.csv. I think something in the script (or the command I ran) is not optimized for this purpose. Using openoffice's calc, I was able to the same task in a few minutes on the same file. My impression is that awk can do much faster on this job than calc, hum?!
Oct
10
comment Change currency format to generic number using sed
Thanks @warl0ck. I am getting the following error: Can't locate Text/CSV.pm in @INC. Sounds like I have some perl library missing, but unfortunately do not have privilege to install any module on the machine I am currently running. Do you know of any way to bypass this error?
Oct
10
awarded  Editor
Oct
10
comment Change currency format to generic number using sed
Just added one.
Oct
10
revised Change currency format to generic number using sed
example added
Oct
10
comment Change currency format to generic number using sed
Thanks @phunehehe. This looks pretty close, except for the fact that it would also eliminate all other comas separating entries in the file. Am I right?
Oct
10
awarded  Student
Oct
9
asked Change currency format to generic number using sed