Public bug reported:

This seems to have been covered by a previous bug, see 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440442
However in the current headache (1.03-25) this is not the case.

The patch 02_skip_begin is mentioned at revision 1.03-13 but there is no
diff and AFAIK no public repository going back that far.

Running headache on a file with a shebang '#!' places the copyright
message at the start of the file, rather than after the shebang line.
For some shells this breaks the script.

My workround is a sed script that looks for shebang start of the file
and fixes it up after headache has done it's thing, this leaves 'dead'
shebangs in the file but as they are not the first line they have no
effect.

** Affects: headache (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1704190

Title:
  Headache breaks shell script files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/headache/+bug/1704190/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to