Hello.
A find command return a list of file.
For each fileReplace the content starting with the first "§" (of two) ending with last "ɸ" (of two), regardless of the content ( five lines )
by the following content (exactly) :
§2019_08_23§ #
# #
# ¨version:41-0-2¨ #
# #
# ɸmodif_version:5-4-3ɸ
Header example :
#!/bin/bash
#
#######################
# #
# {config_std} #
# #
# /sys_script/000_COMMON/Bin/some_script
# #
# INSTALL VERSION #
# #
# §2018_03_23§ #
# #
# ¨version:25-0-0¨ #
# #
# ɸmodif_version:0-0-1ɸ #
# #
########################
#
# object
#
########################################################
#
#
I know nothing in perl, awk, and few things in sed.
Note : white-space are tab or space or both and are undefined.
Any help is welcome.