|
From: | Tiago Peczenyj |
Subject: | Re: [shell-script] Função em shell script |
Date: | Tue, 14 Aug 2018 18:19:45 +0200 |
--Olá a todos,
Eu tenho um script que consulta o SOA de algumas lâminas DNS, e uma das minhas funções é fazer essa pesquisa, para fazer a pesquisa eu uso parâmetros, sendo $1 a opção de consulta e $2 a lâmina DNS.
A função em si não reconhece o valor de $2, mas reconhece o valor de $1, uma alternativa foi passar o valor de $2 para uma variável, mas eu quero passar $2 e não uma variável, será que poderiam me ajudar. Desde já obrigado.
[Prev in Thread] Current Thread [Next in Thread]
- Função em shell script, brunodiasinfo, 2018/08/14
- Re: [shell-script] Função em shell script, Tiago Peczenyj <=
- Re: [shell-script] Função em shell script, Maik Alberto, 2018/08/14
- Re: [shell-script] Função em shell script, Alfredo Casanova, 2018/08/14
- Re: [shell-script] Função em shell script, brunodiasinfo, 2018/08/14
- Re: [shell-script] Função em shell script, Tiago Peczenyj, 2018/08/15
- Re: [shell-script] Função em shell script, Julio C. Neves, 2018/08/15
- Re: [shell-script] Função em shell script, Maik Alberto, 2018/08/15
- Re: [shell-script] Função em shell script, bruno dias, 2018/08/15
- Re: Função em shell script, brunodiasinfo, 2018/08/14
- Re: Função em shell script, brunodiasinfo, 2018/08/14
- Re: Função em shell script, brunodiasinfo, 2018/08/14
- Prev by Date: Função em shell script
- Next by Date: Re: [shell-script] Função em shell script
- Previous by thread: Função em shell script
- Next by thread: Re: [shell-script] Função em shell script
- Index(es):