Récupérer un itinéraire sur le réseau CTS - retour accueil
git clone git://bebou.netlib.re/cts
Log | Files | Refs | README |
commit 767d411a200a9914c58a17e3d76d7c933237f1ea parent eb15b792d769c0e1d2f797d4662909917784d541 Auteurice: Arthur Pons <arthur.pons@unistra.fr> Date: Thu, 10 Apr 2025 14:03:48 +0200 La ligne était un peu trop longue à mon goût Diffstat:
M | ctsui | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/ctsui b/ctsui @@ -38,5 +38,7 @@ while [ "$p" ] && [ "$p" != "stop" ];do ('plus tard') offset="5";; ('plus tôt') offset="-5";; esac - [ "$p" ] && [ "$p" != "stop" ] && h=$(date +"%Hh%M" --date="$(echo $h | tr 'h' ':') $d $offset minutes") + if [ "$p" ] && [ "$p" != "stop" ];then + h=$(date +"%Hh%M" --date="$(echo $h | tr 'h' ':') $d $offset minutes") + fi done