| #!/bin/bash |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| function tuneup_doShellTopComment { |
| |
| |
| local TEMPLATE="${FUNCCONFIG}/shell_topcomment.sed" |
| |
| |
| cli_checkFiles $TEMPLATE 'f' |
| |
| |
| local INSTANCE=$(cli_getTemporalFile $TEMPLATE) |
| |
| |
| cp $TEMPLATE $INSTANCE |
| |
| |
| |
| cli_checkFiles $INSTANCE 'f' |
| |
| |
| cli_replaceTMarkers $INSTANCE |
| |
| |
| sed -r -i -f $INSTANCE $FILE |
| |
| |
| if [[ -f ${INSTANCE} ]];then |
| rm ${INSTANCE} |
| fi |
| |
| } |