Re: Truc et astuces: bash connector

felix via gull <gull-04vmY7CpswVinyhjFObuvR+/[email protected]>
Newsgroups gmane.org.user-groups.gull.general
Message-ID <[email protected]>
Nouvelle version de mon shell-connector:

  https://f-hauri.ch/vrac/shell_connector.sh.txt

Mise à jour, avec:
 - près de 70% de commentaires (j'ai été aidé)!
    $ printf '%.3f%%\n' $(bc -l <<<"
         size=$(stat -c %s shell_connector.sh);
         code=$(bash --pretty-print < shell_connector.sh | wc -c);
         100*(size-code)/size")
    69.443%
 - shellcheck complet
 - quelques améliorations (rapidité et stabilité).

Le Tue, Feb 06, 2018 at 05:42:44PM +0100, felix a écrit :
> Intro:
>   J'ai réalisé des ``connecteurs bash'' pour simples commandes répondant
>   une ligne par une ligne, ou pour des clients SQL, testée avec
>   "sqlite3" (3.16.2 2017-01-06), "mysql" (Ver 15.1 Distrib 10.1.26-MariaDB)
>   et "psql" (PostgreSQL 9.6.6).

-- 
 Félix Hauri  -  <[email protected]>  -  http://www.f-hauri.ch
_______________________________________________
gull mailing list
[email protected]
https://forum.linux-gull.ch/mailman/listinfo/gull
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.