You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
204 B

#!/bin/bash
temps=$(($RANDOM%3+3))
sleep $temps
echo "[`date +%M:%S`](client n°$2) semP $1"
semP $1
echo "[`date +%M:%S`](client n°$2) semZ $1"
semZ $1
echo "[`date +%M:%S`](client n°$2) poursuite"