shell-script-pt
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
defensive BASH programming
From
:
Tiago Peczenyj
Subject
:
defensive BASH programming
Date
:
Tue, 15 Dec 2015 10:42:38 +0100
eu achei algumas dicas bem validas.
alguem precisa disso traduzido? Eu posso fazer isso (quanto tiver tempo livre)
http://www.kfirlavi.com/blog/2012/11/14/defensive-bash-programming
em especial acho que vou começar a usar isto nos meus scripts:
readonly PROGNAME=$(basename $0)
readonly PROGDIR=$(readlink -m $(dirname $0))
readonly ARGS="$@"
--
Tiago B. Peczenyj
http://about.me/peczenyj
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
defensive BASH programming
,
Tiago Peczenyj
<=
Re: [shell-script] defensive BASH programming
,
MrBiTs
,
2015/12/15
Re: [shell-script] defensive BASH programming
,
Ernander (Nander)
,
2015/12/15
Re: [shell-script] defensive BASH programming
,
Fernando Mercês
,
2015/12/15
Re: [shell-script] defensive BASH programming
,
Ivan lopes
,
2015/12/15
Prev by Date:
Re: [shell-script] Filtrar XML
Next by Date:
Re: [shell-script] defensive BASH programming
Previous by thread:
Filtrar XML
Next by thread:
Re: [shell-script] defensive BASH programming
Index(es):
Date
Thread