Re: single quote "'" in bash xterm or lxterminal
On Mon, Dec 25, 2023 at 12:35:37PM -0600, Mike McClain wrote:
> root@RPI4b3:~> tty; echo $SHELL; echo "' " | hd
For the record, $SHELL does not tell you what shell you're currently in.
It tells you which login shell your account uses, or which shell
you'd *like* to use when you launch a new xterm (et al.) or when you
shell-escape from programs that offer this feature.
To see what shell you're currently in, try:
ps -p $$
> As this demonstrates, I get single quotes in bash in a VT but not in X.
But you DO get single-quotes in jed in X, or in dash in X?
Reply to: