Screwup with final EOL detection with comments

Bug #1731820 reported by mcandre
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
bash8
New
Undecided
Unassigned

Bug Description

I have a shell script that DOES end with a final EOL, but bashate somehow sees the comment before the final EOL and screws up its analysis, complaining that the file "did not end with a newline".

https://github.com/mcandre/dotfiles/blob/0bd02b3cd3d6844adcdf69a213f804031202e9a2/.bashrc.d/grep.sh

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.