From bfee50bfbdaad0c608142ab28993fa7b3ca0c707 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 20 Jul 2021 08:29:31 +0300 Subject: [PATCH] kiss: Add means of disabling find/replace in sources files Any source starting with raw: will be used verbatim. This allows one to disable the marker substitution for a given source. Am open to suggestions for a different syntax to raw: though for now it's fine. See #242 --- kiss | 1 + 1 file changed, 1 insertion(+) diff --git a/kiss b/kiss index 5ba7b4a..7255ec5 100755 --- a/kiss +++ b/kiss @@ -105,6 +105,7 @@ fnr() { shift 1 while :; do case $_fnr-$# in + raw:*) _fnr=${_fnr##raw:}; break ;; *"$1"*) _fnr=${_fnr%"$1"*}${2}${_fnr##*"$1"} ;; *-2) break ;; *) shift 2