From 4d277d841a0bad6945cb23d600f57f2a7ad7e794 Mon Sep 17 00:00:00 2001 From: Martinski4GitHub <119833648+Martinski4GitHub@users.noreply.github.com> Date: Sat, 14 Feb 2026 02:20:05 -0800 Subject: [PATCH] Bug Fix Fixed bug in function that searches for the full paths of all filtered log files. --- README.md | 4 ++-- uiScribe.sh | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index e2f58de..1dd86de 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # uiScribe -## v1.4.11 -### Updated on 2026-Jan-11 +## v1.4.12 +### Updated on 2026-Feb-14 ## About uiScribe updates the System Log page to show log files created by Scribe (syslog-ng). Requires [**Scribe**](https://github.com/cynicastic/scribe) diff --git a/uiScribe.sh b/uiScribe.sh index 83e0025..1576cf2 100644 --- a/uiScribe.sh +++ b/uiScribe.sh @@ -13,7 +13,7 @@ ## Forked from https://github.com/jackyaz/uiScribe ## ## ## ######################################################## -# Last Modified: 2026-Jan-11 +# Last Modified: 2026-Feb-14 #------------------------------------------------------- ########### Shellcheck directives ########## @@ -29,8 +29,8 @@ ### Start of script variables ### readonly SCRIPT_NAME="uiScribe" -readonly SCRIPT_VERSION="v1.4.11" -readonly SCRIPT_VERSTAG="26011120" +readonly SCRIPT_VERSION="v1.4.12" +readonly SCRIPT_VERSTAG="26021400" SCRIPT_BRANCH="develop" SCRIPT_REPO="https://raw.githubusercontent.com/AMTM-OSR/$SCRIPT_NAME/$SCRIPT_BRANCH" readonly SCRIPT_DIR="/jffs/addons/${SCRIPT_NAME}.d" @@ -424,7 +424,7 @@ Create_Dirs() } ##----------------------------------------## -## Modified by Martinski W. [2025-Dec-13] ## +## Modified by Martinski W. [2026-Feb-13] ## ##----------------------------------------## _Generate_ListOf_Filtered_LogFiles_() { @@ -438,13 +438,13 @@ _Generate_ListOf_Filtered_LogFiles_() then while read -r theLINE && [ -n "$theLINE" ] do - logFilePath="$(echo "$theLINE" | sed -e 's/^[ ]*file("//;s/".*$//')" + logFilePath="$(echo "$theLINE" | sed -e 's/.*[{ ]\?file("//;s/".*$//')" if grep -qE "^${logFilePath}$" "$tmpFilterList" then continue #Avoid duplicates# fi echo "$logFilePath" >> "$tmpFilterList" done <