Replace #updated with the updated message in qsgen2 file
This commit is contained in:
1 parent
8a9f4eed88
commit
a34812d11c
1 file changed
+2
-1
@@ -444,8 +444,9 @@ function _f_last_updated() {
|
||||
# Perform the replacement
|
||||
content="${content//#updated/${upd_msg}}"
|
||||
|
||||
sed -i '' -e "s|#updated|${upd_msg}|" "${file_path}"
|
||||
# Write the updated content back to the file
|
||||
print -r -- "$content" >| "${file_path}"
|
||||
#print -r -- "$content" >| "${file_path}"
|
||||
}
|
||||
|
||||
function _file_to_lower() {
|
||||
|
||||
Reference in new issue
Block a user