bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Junk at the end on history


From: Greg Wooledge
Subject: Re: Junk at the end on history
Date: Tue, 4 Apr 2023 08:52:07 -0400

On Tue, Apr 04, 2023 at 08:34:02PM +0800, Dan Jacobson wrote:
>    There probably was.
>    Say,  there should be a way to protect the user against something like
>    that. I wish I could just tell it to only allow utf-8 in my history.

Can you please look in the history file, and confirm whether this is
actually the case?  It would be helpful to know whether the "noise"
is coming from the .bash_history file, or from a DEBUG trap or
PROMPT_COMMAND or some other configuration that you've set up.

Also, check what "type history" says in the shell where the "noise"
occurs.  Let's make sure it's not aliased or something like that.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]