From: Vincent Le Gallic Date: Tue, 11 Apr 2017 07:32:50 +0000 (+0200) Subject: [bde] Bye inscriptions.sh, so 2012. adhesions.sh is the new sexy. X-Git-Url: http://gitweb.pimeys.fr/?p=scripts-20-100.git;a=commitdiff_plain;h=a0dc621900b0986249ec705ee101e4baa4a11e88 [bde] Bye inscriptions.sh, so 2012. adhesions.sh is the new sexy. --- diff --git a/bde/inscriptions.sh b/bde/inscriptions.sh deleted file mode 100755 index 4b5c473..0000000 --- a/bde/inscriptions.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -# Pour trouver les années d'inscriptions de quelqu'un dans la base de données - -export LESS='-S' - -psql bde -c " - SELECT * - FROM inscriptions - WHERE adherent = $1 - ORDER BY annee ASC;" diff --git a/bde/old/inscriptions.sh b/bde/old/inscriptions.sh new file mode 100755 index 0000000..4b5c473 --- /dev/null +++ b/bde/old/inscriptions.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +# Pour trouver les années d'inscriptions de quelqu'un dans la base de données + +export LESS='-S' + +psql bde -c " + SELECT * + FROM inscriptions + WHERE adherent = $1 + ORDER BY annee ASC;"