OILS / spec / testdata / doc-comments.sh View on Github | oilshell.org

22 lines, 12 significant
1# for spec/oil-builtin-pp.test.sh
2
3f() {
4 ### doc ' comment with " quotes
5 echo
6}
7
8g() {
9 echo hi
10 ### not a doc comment
11}
12
13proc myproc {
14 ### YSH-style proc
15 echo myproc
16}
17
18proc true {
19 ### Special quoting rule
20 echo hi
21}
22