shell-script-pt
[Top][All Lists]
Advanced

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

Shell clean code :)


From: Reinaldo de Carvalho
Subject: Shell clean code :)
Date: Mon, 16 Jan 2012 14:51:02 -0300

Olá pessoal,

   fiz um script para atualizar meu repositório maven e acredito que
sirva de exemplo de boas práticas para o uso de:

- bash expansions
- return em functions
- while com < <(cmd)
- if com condiçõe"s"
- cat <<< e cat <<EOF
- @shelldoc kkk =D


http://reinaldoc.github.com/tools/repo.sh

p/ visualizar no navegador:

http://github.com/reinaldoc/reinaldoc.github.com/blob/gh-pages/tools/repo.sh


Sugestões são bem vindas :)

[]s

-- 
Reinaldo de Carvalho
http://korreio.sf.net
http://python-cyrus.sf.net

"While not fully understand a software, don't try to adapt this
software to the way you work, but rather yourself to the way the
software works" (myself)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]