[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: BASH



As an example, you can write one?

Thanks.

On Fri, May 1, 2015 at 11:57 AM, Floris <jkfloris@dds.nl> wrote:
> Op Thu, 30 Apr 2015 15:46:37 +0200 schreef Gokan Atmaca
> <linux.gokan@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-REQUEST@lists.debian.orgwith a subject
> of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive:
> [🔎] op.xxx8h9vk5k9y7g@jessica.jkfloris.demon.nl">https://lists.debian.org/[🔎] op.xxx8h9vk5k9y7g@jessica.jkfloris.demon.nl
>


Reply to: