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

25 lines, 12 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 echo "git commit: $XSHAR_GIT_COMMIT"
15
16 echo 'hello-xshar.sh: listing files'
17 echo
18
19 find yaks/ -type f
20
21 echo
22 echo 'hello-xshar.sh: done'
23}
24
25"$@"