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]