From a2c7984568c57508fb011fe7265a297e18f9c9ea Mon Sep 17 00:00:00 2001 From: paul Date: Wed, 2 Mar 2016 13:24:46 +0000 Subject: [PATCH] adopt pipe sign from filterstring into sed expression svn path=/trunk/; revision=103 --- pages/list.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/list.sh b/pages/list.sh index 9f2b9ee..39a6ccb 100755 --- a/pages/list.sh +++ b/pages/list.sh @@ -117,7 +117,7 @@ thumblist() { else filterex="s;^([0-9]+\t){3}(.+)\n.*$;\2;p" printf '%s\n' "$filter" |tr '^' '\n' \ - | sed -r 's;[]\/\(\)\\\^\$\|\?\.\+\*\;\[\{\}];\\\\&;g' \ + | sed -r 's;[]\/\(\)\\\^\$\?\.\+\*\;\[\{\}];\\\\&;g' \ | while read each; do [ "${each:0:1}" = '!' ] && filterex="/^[^\n]+\n(.*\|)?(${each#?})(\|.*)?$/d;{${filterex}}" \ || filterex="/^[^\n]+\n(.*\|)?(${each})(\|.*)?$/{${filterex}}" -- 2.39.2