Le 28/04/2012 23:33, Aaron Davies a écrit :
is there anywhere i can find info on ways people build up ksh script libraries? 
i'm thinking of things like standardizing parameter parsing, error handling, 
logging, other utility functions, etc. across a family of dozens of scripts.

i'd also be interested in any commentary on "best practices" (if you'llforgive the jargon)--should i write 
everything with "set -eu" turned on,when is a "()" function preferred (or required!) over a 
"function" function, when to use namerefs, etc.

take a look at usr/share/doc/ksh/shell_styleguide.html
in one of the archive here :
http://www.nrubsig.org/people/gisburn/work/solaris/ksh93_integration/

also : http://www.slideshare.net/blaap/style-guideshell
but, well, it's bash... :-)

Regards,

Cyrille Lefevre
--
mailto:[email protected]



_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to