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

11 lines, 6 significant
1#!/usr/bin/env bash
2
3argv.py $BASH_SOURCE # SimpleVarSub
4argv.py ${BASH_SOURCE}
5argv.py $BASH_LINENO # SimpleVarSub
6argv.py ${BASH_LINENO}
7
8echo ____
9
10# Test with 2 entries
11source spec/testdata/bash-source-string2.sh