Re: extract values from a csv file
Date: 6 Jun 2005 07:05:16 -0700
Thanks for your email, The reason I asked to store the values into
individual variables, because I need to execute another shell script
which requires these values as parameters. so I need to parse the csv
line by line and store the values into variables and then execute the
another script with these values as parameters. By the way my csv file
consists of fixed columns.
For example File.csv consists of
var1 = ab,var2 = 230,var3 = david,var4 = 450
I want something like this.
Thanks in advance
- Re: Best way to store postfix data?
... with control logic in the same time as the old read one line, execute ... but there's some memory hog I've missed in there. ... that seems infinitely preferable to trying to store them inline ... Since I allow control routines, I have to execute at runtime, ...
- Re: [kde-linux] Mounting with exec flag
... And I can copy a shell script to both devices and then execute ... UDEV config problem [if KDE uses UDEV info to mount devices) (I use ...
- Re: is malloc thread-safe??
... Richard Tobin wrote: ... If two separate threads that share the variable both execute the ... it can do the "store", the second thread can load, add, and store, ... C on some systems), an implementation-dependent locking mechanism ...
- Re: How to selectivey route messages?
... > shell script to execute at boot time (but not the one that goes: ... > have to be a real Internet user. ... > I also want to plow through the ip program document and the "Linux Advanced ...
- problems redirecting an open file to stdin using dup2()
... The shell script is expecting input from stdin. ... I cannot get this to execute period. ... if I change fopenfor openor freopenand make fp an int, ...