Re: Comment before 'else' on CLI, does not save to history correctly

2019-07-25 Thread Chet Ramey
On 7/23/19 9:16 PM, Anthony Thyssen wrote: > OS: Fedora 28, Running on a Dell Latitude E7450 > Standard RPM Package: bash-4.4.23-1.fc28.x86_64 > > > if you type a multi-line if-then-else-fi statement with a command before the > else. > Bash does not add a semi-colon before the else when savi

Comment before 'else' on CLI, does not save to history correctly

2019-07-23 Thread Anthony Thyssen
Version: bash --version GNU bash, version 4.4.23(1)-release (x86_64-redhat-linux-gnu) Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software; you are free to change and redistribute it. There is NO WARR