summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-07-13 16:13:44 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-07-13 16:13:44 +0200
commite706898811cb4e95ec37a5707227d8e129f29eda (patch)
tree60e6d663c62a89f1952d8d9d835a35b52e430f44 /doc
parent9004c7a83e5a1bd9943363671c149dead8db634b (diff)
Add few links to bash style guide
Diffstat (limited to 'doc')
-rw-r--r--doc/bash-style.cli10
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}.
"