Op Thu, 30 Apr 2015 15:46:37 +0200 schreef Gokan Atmaca
<linux.go...@gmail.com>:
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?
from the Advanced Bash-Scripting Guide:
http://tldp.org/LDP/abs/html/refcards.html
./script.sh is variable $0 in script.sh
--dic is variable $1 in script.sh
--file is variable $2 in script.sh
success,
Floris
--
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/op.xxx8h9vk5k9...@jessica.jkfloris.demon.nl