>>106831590
Thanks. I never used them, but line editor was most a shell can do with pure builtins.
But in the name of transparency, I just now realized I absentmindedly left rm commands in the cleaning function... Lines 108-113 should be.
lev_clean(){
:> "$lev_ftemp"
:> "$lev_ftemp2"
:> "$lev_ftempBAK"
exit "${1:-0}"
}