From be25e9c4bb2fdfa4f76063ff7c7440eb410c7c5f Mon Sep 17 00:00:00 2001 From: lizzie Date: Sun, 26 Oct 2025 03:03:45 +0000 Subject: [PATCH] fix shell :) --- tools/unused-strings.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/unused-strings.sh b/tools/unused-strings.sh index ed8c5d9584..ea36caaf83 100755 --- a/tools/unused-strings.sh +++ b/tools/unused-strings.sh @@ -26,7 +26,7 @@ done <"$TMP_DIR"/files set -e # filter out "@string/" and "R.string." from the strings to get the raw names -sed 's/R.string.\|@string\///' "$USED" | sort -u | grep -v app_name_suffixed > "$FILTERED" +sed 's/R.string.//' "$USED" | sed 's/@string\///' | sort -u | grep -v app_name_suffixed > "$FILTERED" # now we run a sort + uniq -u pass - this basically removes all strings that are # present in BOTH the used strings list AND strings.xml