Aller au contenu
View in the app

A better way to browse. Learn more.

Next

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Script TCL

Featured Replies

Posté(e)

Bonjour,

Je vous explique mon petit probleme en espérant avoir de l'aide :transpi:

il faut que je récupère le numéro de version d'un logiciel et qu'ensuite je le compare (car il faut une version pas trop ancienne du logiciel) pour cela j'avais fais un script bash qui était celui là :

#!/bin/bash

if [ `which mono` ];

then

number=$(mono -V | grep "version" | sed 's/.*\([0-9]\.[0-9]\.[0-9]\).*/\1/');

n1=$(echo $number | cut -d . -f 1);

n2=$(echo $number | cut -d . -f 2);

n3=$(echo $number | cut -d . -f 3);

if [ $n1 -ge 1 ] && [ $n2 -ge 2 ] && [ $n3 -ge 4 ] ;

then

exit 1;

else

exit 0;

fi

else

exit 0;

fi

or il s'avère que je dois le faire en TCL et non en bash... et qu'un simple [exec ...] ne m'est pas autorisé...

Ne connaissant pas TCL, j'ai du mal à m'en sortir. Si qq'un pouvait m'aider...

Pour info le texte récupéré suite à la commande " Mono -V " est comme ceci :

Mono JIT compiler version 1.1.13.6, © 2002-2005 Novell, Inc and Contributors. www.mono-project.com

TLS: __thread

GC: Included Boehm (with typed GC)

SIGSEGV : normal

:mad2::non:

Archivé

Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.