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