Simon wrote on Tue, 31 May 2016 16:28:55 +0100
>You can find the version Unix chooses to run using the "which" command:

>simon$ which sqlite3
>/usr/bin/sqlite3

Right, that's the way it works on practically all *n?x based systems.
What I do is changing the $PATH so Darwin's bash looks first in the current 
directory (.), then in the dir where I usually unzip the newest version of my 
favorite applications one of them being {no surprise ;-)} SQLite

Sometimes to test the downwards compatibilty I don't

Last login: Mon May 30 18:11:42 on console
surfer-172-29-7-221-hotspot:~ klaasv$ which sqlite3
/usr/bin/sqlite3
surfer-172-29-7-221-hotspot:~ klaasv$ sqlite3
SQLite version 3.6.12 (I'm still working with an "ancient" version of OS X 
"Snow Leopard")
--
. prompt (the name I gave to my shellScript)

cd ~/binz

--[[z4us|binz--]]
sqlite3
SQLite version 3.13.0 2016-05-18 10:57:30
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database.
sqlite> .version
SQLite 3.13.0 2016-05-18 10:57:30 fc49f556e48970561d7ab6a2f24fdd7d9eb81ff2
sqlite> select sqlite_version();
3.13.0

Kind regards | Vriendelijke groeten | Cordiali saluti,
Klaas `Z4us` van Buiten V, Experienced Freelance ICT-Guy
https://www.linkedin.com/in/klaas-van-buiten-0325b2102
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to