Re: $LINENO in a bash script using subshells in if statements

2019-07-05 Thread Chet Ramey
gt; https://stackoverflow.com/questions/56909685/weird-behavior-of-lineno-in-a-bash-script-using-subshells-in-if-statements Thanks for the report. This was fixed back in mid-March, and the fix is in the devel branch. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer

$LINENO in a bash script using subshells in if statements

2019-07-05 Thread charles . deledalle
3.2.57. See discussion here: https://stackoverflow.com/questions/56909685/weird-behavior-of-lineno-in-a-bash-script-using-subshells-in-if-statements Repeat-By: Here is the minimal reproducible code 1. #!/bin/bash 2. if true ; then 3. (echo dummy) 4. fi