Sample Header Ad - 728x90

Bash: What does "masking return values" mean?

17 votes
1 answer
7773 views
shellcheck generated the following warning SC2155: Declare and assign separately to avoid masking return values For this line of code local key_value=$(echo "$current_line" | mawk '/.+=.+/ {print $1 }') What does "masking return values" mean, and how does it pertain to the aforementioned warning?
Asked by user332459
Mar 14, 2019, 08:30 PM
Last activity: Mar 14, 2019, 09:18 PM