OILS / spec / testdata / module / this_dir.ysh View on Github | oilshell.org

7 lines, 4 significant
1
2echo 'hi from this_dir.ysh'
3
4write -n '$_this_dir = '
5echo $_this_dir | sed 's;.*/oil/;REPLACED/oil/;'
6
7source $_this_dir/empty.ysh