How do I forward parameters to other command in bash script

De openkb
Aller à : Navigation, rechercher

Sommaire

Questions

Inside my bash script, I would like to parse zero, one or two parameters (script can recognize them). Then forward rest of parameters to a command invoked in the script. How to do it?

Answers

http://www.gnu.org/software/bash/manual/bashref.html#Shell-Parameter-Expansion http://www.gnu.org/software/bash/manual/bashref.html#Shell-Parameter-Expansion

Source

License : cc by-sa 3.0

http://stackoverflow.com/questions/1537673/how-do-i-forward-parameters-to-other-command-in-bash-script

Related

Outils personnels
Espaces de noms

Variantes
Actions
Navigation
Outils