Retourner au contenu associé (entrée de forum : [RÉSOLU] Bash utiliser variable dans une commande du style result=$(commande | grep $variable))
Posté par totof2000 le 26 mai 2017 à 12:13. En réponse au message [RÉSOLU] Bash utiliser variable dans une commande du style result=$(commande | grep $variable). Évalué à 3.
http://www.quennec.fr/trucs-astuces/syst%C3%A8mes/gnulinux/programmation-shell-sous-gnulinux/aspects-avanc%C3%A9s-de-la-programmation-shell/la-commande-eval
http://dmesg.fr/5-categorie-divers/149-commande-eval-linux-bash-shell
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
# utiliser eval ?
Posté par totof2000 . En réponse au message [RÉSOLU] Bash utiliser variable dans une commande du style result=$(commande | grep $variable). Évalué à 3.
http://www.quennec.fr/trucs-astuces/syst%C3%A8mes/gnulinux/programmation-shell-sous-gnulinux/aspects-avanc%C3%A9s-de-la-programmation-shell/la-commande-eval
http://dmesg.fr/5-categorie-divers/149-commande-eval-linux-bash-shell