Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/sqlite/blob/master/tool/cktclsh.sh # sqlite [Ported from github.com/sqlite/sqlite] Fix bugs in and improve the interface to the ".check" command of the CLI. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `sqlite / tool / cktclsh.sh` 11 lines ยท 315 bytes Raw Blame History 1 # Fail with an error if the TCLSH named in $2 is not tclsh version $1 or later. 2 # 3 echo "set vers $1" >cktclsh$1.tcl 4 echo 'if {$tcl_version<$vers} {exit 1}' >>cktclsh$1.tcl 5 if ! $2 cktclsh$1.tcl 6 then 7 echo "ERROR: This makefile target requires tclsh $1 or later." 8 rm cktclsh$1.tcl 9 exit 1 10 fi 11 rm cktclsh$1.tcl