On 2/19/23 9:34 AM, Mr. Dick Steel wrote:
On 19-02-2023 16:21, Martin D Kealey wrote:
at this point, what is in the file? does « wc -l  .bash_history » report 13?

It reports:
13 .bash_history

If I disable PS1 coloring, everything works correctly.
You can also mark these sequences of non-printing characters in the prompt
string using the \[ and \] escape sequences, so readline knows about them.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/


Reply via email to