OILS / test / gold / comments.sh View on Github | oilshell.org

22 lines, 9 significant
1#!/usr/bin/env bash
2#
3# Usage:
4# ./comments.sh <function name>
5
6set -o nounset
7set -o pipefail
8set -o errexit
9
10main() {
11 # N
12 echo foo\
13#not_comment
14
15 echo "foo\
16#not_comment"
17
18 echo "foo\
19 #not_comment"
20}
21
22main "$@"