So I found something somewhat interesting in ksh
. I found that if the last character is \
, then immediately backspace, the charcter becomes recplaced with ^H
. I am then able to press backspace again to clear it away.
What kind of wizardry am I dealing with here? Is this a bug? Trying this in bash
did not yield the same result.