OILS / devtools / hello-xshar.sh View on Github | oilshell.org

24 lines, 11 significant
1#!/usr/bin/env bash
2#
3# Test file
4#
5# Usage:
6# devtools/hello-xshar.sh <function name>
7
8set -o nounset
9set -o pipefail
10set -o errexit
11
12main() {
13 echo "args $@"
14
15 echo 'hello-xshar.sh: listing files'
16 echo
17
18 find yaks/ -type f
19
20 echo
21 echo 'hello-xshar.sh: done'
22}
23
24"$@"