OILS / spec / testdata / bash-source-2.sh View on Github | oilshell.org

7 lines, 5 significant
1#!/usr/bin/env bash
2
3g() {
4 argv 'G funcs' "${FUNCNAME[@]}"
5 argv 'G files' "${BASH_SOURCE[@]}"
6 argv 'G lines' "${BASH_LINENO[@]}"
7}