Re: BASH
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
Reply to:
- References:
- BASH
- From: Gokan Atmaca <linux.gokan@gmail.com>