On Sun, Jul 16, 2023, at 2:41 PM, alex xmb ratchev wrote:
> a mate using termux or nix ( some nixos termux clone ) , noticed a leftover
> trap
> my same output :
>
> ~ $ trap
> trap -- '' 38
> ~ $
>
> i couldnt remove it using trap '' 38 nor trap - 38 or trap -- - 38
You don't mention trapping this signal, so I'd guess the terminal
emulator (or one of its ancestors) ignored it.
"Signals ignored upon entry to the shell cannot be trapped or reset."
https://www.gnu.org/software/bash/manual/html_node/Bourne-Shell-Builtins.html#index-trap
--
vq