Ls,

In a bash script I want to get some user input to be stored in a table

#get the user input:

echo -n 'give new value for xxx  :   '
read TERM
NEWVALUE="$TERM"

# now insert into db
sqlite3 $DB.sqlite  "insert into ga_table values (1,$NEWVALUE);"

but then I get an error:

script.sh: line 24: ee: command not found

Where ee is the input given by the user.
Any suggestion as to how I can get the data into the database!

Thanks

Raymond




This document is strictly confidential and intended only for use by the 
addressee unless otherwise indicated
Dr. Ir. Raymond A. J. J. van Daelen
Project Manager
KEYGENE N.V.
Bio-Informatics
P.O. Box 216
6700 AE Wageningen
The Netherlands
Tel. (+31) 317 46 68 66
Fax. (+31) 317 42 49 39
Email: [email protected]
The transmission of messages and/or information via the Internet is not secured 
and may be intercepted by third parties. Keygene assumes no liability if this 
document or its content is intercepted by a third party or becomes publicly 
available.

[http://www.keygene.com/images/maillogo.jpg]<http://www.keygene.com/>








Keygene N.V.
P.O. Box 216
6700 AE Wageningen
The Netherlands
Tel. (+31) 317 46 68 66
Fax. (+31) 317 42 49 39
CoC. 09066631
Web: http://www.keygene.com<http://www.keygene.com/>

The information contained in this message, and attachments if any, may be 
privileged and/or confidential and is intended to be received only by persons 
entitled to receive such information. Use of any part of this message and/or 
its attachments if any, in any other way than as explicitly stated by the 
sender is strictly prohibited. Should you receive this message unintentionally 
please notify the sender immediately, and delete it together with all 
attachments, if any. Thank you.
The transmission of messages and/or information via the Internet is not secured 
and may be intercepted by third parties. KeyGene assumes no liability for any 
damage caused by any unintentional disclosure and/or use of the content of this 
message and attachments if any.

_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to