On 1/14/22 6:42 PM, Joakim Lindblad wrote:

Bash Version: 5.1
Patch Level: 16
Release Status: release


Description:
       Using the default `shopt -s cmdhist; shopt -u lithist`,
      multi-line commands which include completely empty lines (e.g. copied from a spaciously formatted script)       do not get the appropriate semicolons. Thus, the command being stored in the history is wrong!

Thanks for the report.

Chet

--
``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