diff options
Diffstat (limited to 'doc/bash-style.cli')
-rw-r--r-- | doc/bash-style.cli | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/bash-style.cli b/doc/bash-style.cli index 587637c..93cf9e0 100644 --- a/doc/bash-style.cli +++ b/doc/bash-style.cli @@ -25,7 +25,8 @@ prescribed way is clearly wrong, then it probably makes sense to break it. You just need to be clear on why you are doing it. See also \l{https://google.github.io/styleguide/shell.xml Google's Bash Style -Guide}; we agree with quite a few (but not all) items in there. In particular, +Guide} as well as \l{https://github.com/progrium/bashstyle Let's do Bash +right!}; we agree with quite a few (but not all) items in there. In particular, it provides a lot more rationale compared to this guide. \h1#style|Style| @@ -332,4 +333,11 @@ function dist() b=\"$(basename \"$2\")\" } \ + +For more information on returning data from functions, see +\l{https://mywiki.wooledge.org/BashFAQ/084 BashFAQ#084}. + +For more information on writing reusable functions, see +\l{https://stackoverflow.com/questions/11369522/bash-utility-script-library +Bash Utility Script Library}. " |