From 82e79c25537003efb6dd497373e9027b83c51d4b Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Thu, 1 Sep 2016 02:10:39 +0200 Subject: [PATCH] [bde] Aliases, comme adhesions --- bde/aliases.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 bde/aliases.sh diff --git a/bde/aliases.sh b/bde/aliases.sh new file mode 100755 index 0000000..ef3059e --- /dev/null +++ b/bde/aliases.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +# Pour trouver les aliases d'un compte + +export LESS='-S' + +psql note -c " + SELECT * + FROM aliases + WHERE idbde = $1 + ORDER BY alias ASC;" -- 2.39.2