Retourner au contenu associé (entrée de forum : Création de commande)
Posté par Framasky (site web personnel) le 31 janvier 2013 à 13:35. En réponse au message Création de commande. Évalué à 2.
Si c'est bien un script shell : https://rsalveti.wordpress.com/2007/04/03/bash-parsing-arguments-with-getopts/, http://wiki.bash-hackers.org/howto/getopts_tutorial
Si c'est un autre langage, cherche getopt dans ta documentation favorite pour le langage en question.
Being a sysadmin is easy. As easy as riding a bicycle. Except the bicycle is on fire, you’re on fire and you’re in Hell.
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
# Le plus propre : getopts
Posté par Framasky (site web personnel) . En réponse au message Création de commande. Évalué à 2.
Si c'est bien un script shell : https://rsalveti.wordpress.com/2007/04/03/bash-parsing-arguments-with-getopts/, http://wiki.bash-hackers.org/howto/getopts_tutorial
Si c'est un autre langage, cherche getopt dans ta documentation favorite pour le langage en question.
Being a sysadmin is easy. As easy as riding a bicycle. Except the bicycle is on fire, you’re on fire and you’re in Hell.