From e706898811cb4e95ec37a5707227d8e129f29eda Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 13 Jul 2018 16:13:44 +0200 Subject: Add few links to bash style guide --- doc/bash-style.cli | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'doc') 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}. " -- cgit v1.1