Puneet,




Puneet Kishor <[EMAIL PROTECTED]>
03/05/2004 05:01 AM

 
        To:     SQLite <[EMAIL PROTECTED]>
        cc: 
        Subject:        [sqlite] command history


> Is there a way to enable some kind of command history in the SQLite 
> shell? You know, press the up arrow to get the previous command... I 
> think it is called READLINE support, no?

If you're still having trouble, perhaps you could try starting sqlite in a 
different way. Instead of this:

$ sqlite my.db
> SELECT ...;
> CREATE ...;

try:

$ sqlite my.db 'SELECT ...;'
$ sqlite my.db 'CREATE ...;'

This method doesn't allow you to run transactions across multiple lines, 
but does give the advantage of immediately conforming to the way your 
shell does its command history :) I like to do things this way with ksh 
and vi editing keys, myself.

Benjamin.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to