[BASH] PROBLEME DE VARIABLE
ZiopA
-
lgh -
lgh -
Bonsoire, j'ai un probleme pour la création de variable:
je vouderai faire une varaible extentible... c'est à dire
var_lien="monlien.html"
var_site="http://ztpr.free.fr"
read myvar
echo "$var_$myvar"
voilà pour que ça affiche "monlien.html" si on tape "lien"
ou "http://ztpr.free.fr" si l'on tape site
:) je vous remerci d'avance...
je vouderai faire une varaible extentible... c'est à dire
var_lien="monlien.html"
var_site="http://ztpr.free.fr"
read myvar
echo "$var_$myvar"
voilà pour que ça affiche "monlien.html" si on tape "lien"
ou "http://ztpr.free.fr" si l'on tape site
:) je vous remerci d'avance...
A voir également:
- [BASH] PROBLEME DE VARIABLE
- Bingo bash free - Télécharger - Divers Jeux
- Bash addition - <a href="https://forums.commentcamarche.net/forum/shell-287">Forum Shell</a>
- Vba range avec variable ✓ - <a href="https://forums.commentcamarche.net/forum/vb-vba-267">Forum VB / VBA</a>
- Impossible de créer le fichier de travail. vérifiez la variable d'environnement temp - <a href="https://forums.commentcamarche.net/forum/microsoft-office-338">Forum Microsoft Office</a>
- Syntaxe VBA Sheets.Range avec Range variable ✓ - <a href="https://forums.commentcamarche.net/forum/vb-vba-267">Forum VB / VBA</a>