I used headache on my project but it seems to remove some lines. Let see a MRE:
The header:
The OCaml file:
(**************************************************************************)
(* foo *)
(**************************************************************************)
open Format
(* foo *)
The expected result with the command headache -h header.txt source.ml:
(**************************************************************************)
(* foo foo *)
(**************************************************************************)
open Format
(* foo *)
The actual result:
(**************************************************************************)
(* foo foo *)
(**************************************************************************)
(* foo *)
I used headache on my project but it seems to remove some lines. Let see a MRE:
The header:
The OCaml file:
The expected result with the command
headache -h header.txt source.ml:The actual result: