]> git.plutz.net Git - serve0/blobdiff - widgets.sh
improved shell compatibility
[serve0] / widgets.sh
index 839c0076b7c91aeecb1ca5151b8579f8933ea928..a039d97b6b486613b8e19ae2dbb71a318f3c07dd 100644 (file)
@@ -201,7 +201,7 @@ w_advsearch(){
             $n "${t:-checked}" $n $n \
             $n "${t:+checked}" $n $n
 
-    f="|${f#~}|"
+    f="|${f#\~}|"
     printf '*\n%s\n' "$w_tagcategories" \
     | while read -r category; do
       lbid="cat_${n}_${category}"