File header should match a template.
Either define the header template as plain text or regular expression or load it from a file.
With plain text header template:
# This confidential and proprietary software may be used only as authorized # by a licensing agreement from Linty Services. # (c) Copyright 2016-2022 Linty Services # ALL RIGHTS RESERVED # The entire notice above must be reproduced on all authorized copies.
# My header is a bit different from the template puts hello
With plain text header template:
# This confidential and proprietary software may be used only as authorized # by a licensing agreement from Linty Services. # (c) Copyright 2016-2022 Linty Services # ALL RIGHTS RESERVED # The entire notice above must be reproduced on all authorized copies.
# This confidential and proprietary software may be used only as authorized # by a licensing agreement from Linty Services. # (c) Copyright 2016-2021 Linty Services # ALL RIGHTS RESERVED # The entire notice above must be reproduced on all authorized copies. puts hello