One sed/gsed as well

This commit is contained in:
Ben Saufley 2022-01-12 00:28:52 -05:00
parent 048e15a476
commit 20289a1774
No known key found for this signature in database
GPG Key ID: F7DD980CEDE0AA5B

View File

@ -559,7 +559,7 @@ CHAPTER\((.key))NAME=\(.value.title)"' "${extra_chapter_file}" > "${tmp_chapter_
if [[ ! -z "${lib_entry}" ]]; then if [[ ! -z "${lib_entry}" ]]; then
series_title=$(echo "${lib_entry}" | awk -F '\t' '{print $6}') series_title=$(echo "${lib_entry}" | awk -F '\t' '{print $6}')
series_sequence=$(echo "${lib_entry}" | awk -F '\t' '{print $7}') series_sequence=$(echo "${lib_entry}" | awk -F '\t' '{print $7}')
sed -i "/^ Metadata:/a\\ $SED -i "/^ Metadata:/a\\
series : ${series_title}\\ series : ${series_title}\\
series_sequence : ${series_sequence}" "${metadata_file}" series_sequence : ${series_sequence}" "${metadata_file}"
fi fi