Changes made with regex plus some manual tweaks. Find: /(?:(?<!#!\/bin\/sh\n)(?:^#\n))*^#.*?[Cc]opyright.*?(\d{4}) *([0-9A-z,_\- ]+).*?\n(?:^#\n)*^#.*?SPDX-License-Identifier:? *(.+) *?\n(?:^#\n)*/gm Replace: # Copyright (c) $1 $2 # SPDX-License-Identifier: $3 PR: #564
9 lines
219 B
Text
9 lines
219 B
Text
# Copyright (c) 2020 The ZMK Contributors
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
config SHIELD_JORNE_LEFT
|
|
def_bool $(shields_list_contains,jorne_left)
|
|
|
|
config SHIELD_JORNE_RIGHT
|
|
def_bool $(shields_list_contains,jorne_right)
|