The ash shell in busybox doesn't seem to implement any of the standard ways to get the filename that's being sourced. For instance:
testo
:#!/usr/bin/env -S busybox ash echo hello whorl echo using source source ./sourceme echo using . . ./sourceme
sourceme
:echo underscore $_ echo bs $BASH_SOURCE echo zero $0
# ./testo hello whorl using source underscore ./testo bs zero ./testo using . underscore ./testo bs zero ./testo
I need something to put in sourceme
that will get its own name/path.