spk rev 151
Tiny edits
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Thu Apr 24 19:32:48 2014 +0100 (2014-04-24) |
parents | f7895d0ccb52 |
children | fd2034f96fe0 |
files | spk-sql |
line diff
1.1 --- a/spk-sql Thu Apr 24 03:11:58 2014 +0200 1.2 +++ b/spk-sql Thu Apr 24 19:32:48 2014 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 #!/bin/sh 1.5 # 1.6 # Spk-sql - SliTaz packages DB the SQLite way. This is for testing 1.7 -# SQLite speed to handle packages info. It may not be used to manage 1.8 +# SQLite's speed to handle packages info. It may not be used to manage 1.9 # OS system but for pkgs.slitaz.org search engine and arm.slitaz.org 1.10 # 1.11 # Copyright (C) 2014 SliTaz GNU/Linux - BSD License 1.12 @@ -94,7 +94,7 @@ 1.13 du -sh ${db} ;; 1.14 1.15 list) 1.16 - # Very fast listing ou fancy output: html, tcl, tabs, ... 1.17 + # Very fast listing of fancy output: html, tcl, tabs, ... 1.18 [ "$output" ] || output="list" 1.19 sqlite3 ${db} << EOT 1.20 .mode $output 1.21 @@ -103,7 +103,7 @@ 1.22 ;; 1.23 1.24 gendb) 1.25 - # Take long to build the +4300 pkgs DB! 1.26 + # Takes long to build the +4300 pkgs DB! 1.27 time=$(date +%s) 1.28 echo "Initializing: $db --> $table" 1.29 create_db