qcm

Faire des qcm simplement - retour accueil

git clone git://bebou.netlib.re/qcm
Log | Files | Refs | README |

commit bf867c36527dcde05f7929a4673cd84df12344a6
parent 0e9967045d721d8814358127f927ea1dd9138ded
Auteurice: Arthur Pons <arthur.pons@unistra.fr>
Date:   Thu, 12 Dec 2024 09:34:36 +0100

Les options -u et -l fonctionnent

En réalité je ne les avais jamais testé et clairement elles ne
fonctionnaient pas.

Diffstat:
Mqcm.sh | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/qcm.sh b/qcm.sh @@ -138,8 +138,6 @@ nbq=4 uopt="-u" choix= plotcmd="cat" -url="http://bebou.netlib.re" -logs="/var/log/nginx/access.log" while getopts "hegl:u:i:" opt; do case $opt in @@ -151,6 +149,9 @@ while getopts "hegl:u:i:" opt; do esac done +url="${u:-http://bebou.netlib.re}" +logs="${l-:/var/log/nginx/access.log}" + tmpd=$(mktemp -d "${TMPDIR:-/tmp}/qcm.XXX") if [ -n "$i" ];then existingids=$(ps -A -l -f | grep "[ /]qcm " |