diff options
author | tv <tv@also> | 2011-08-08 01:00:11 +0200 |
---|---|---|
committer | tv <tv@also> | 2011-08-08 01:01:10 +0200 |
commit | dceeadb1a9e40c449e5ba87d21e08920306142f4 (patch) | |
tree | fcf7e3a69e4a74047c4f34dc5efad88be2b3ef20 /cholerab/pattern/README | |
parent | 6dd9ea309f4fc010b113b357a5d2f65ef0977aa3 (diff) |
cholerab: add litprog and srcdoc
Add the patterns Literate Programming and Source-based Documentation.
Diffstat (limited to 'cholerab/pattern/README')
-rw-r--r-- | cholerab/pattern/README | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/cholerab/pattern/README b/cholerab/pattern/README index 03c1c068..0980ac6e 100644 --- a/cholerab/pattern/README +++ b/cholerab/pattern/README @@ -50,3 +50,19 @@ Prozess um auf Enterprise Patterns zu kommen Bug-Driven Development --------------------- + +Source-based Documentation / Help +--------------------------------- +<code> + #! /bin/sh + if echo "$*" | grep -q '\(^\| \)-h\( \|$\)'; then + cat "$0" + fi + # [more code] +</code> + +Literate Programming +-------------------- +Omit all the comments. + + |