Gokan Atmaca writes:
 > Hello
 > 
 > Parameterized with BASH I want to write a script. For example: I want
 > to put parameters such as ./script.sh --dic --file.
 > 
 > 
 > How can I do this?

Use the getopts command (a bash builtin command).

Documented in man bash.

-- 
 /\           ___                                    Ubuntu: ancient
/___/\_|_|\_|__|___Gian Uberto Lauri_____               African word
  //--\| | \|  |   Integralista GNUslamico            meaning "I can
\/                 coltivatore diretto di software       not install
     giĆ  sistemista a tempo (altrui) perso...                Debian"

Warning: gnome-config-daemon considered more dangerous than GOTO


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/21826.13467.453211.922...@mail.eng.it

Reply via email to