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 [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: https://lists.debian.org/[email protected]