From 3bb151d2665ee5970dfe1ad088fa5e4ed793cfdc Mon Sep 17 00:00:00 2001 From: Fabien Benetou Date: Wed, 20 Jul 2011 13:44:51 +0200 Subject: [PATCH] improved search syntax --- shell_scripts/pmwiki_recipes_info_listing | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/shell_scripts/pmwiki_recipes_info_listing b/shell_scripts/pmwiki_recipes_info_listing index 19251a1..8f00d0b 100755 --- a/shell_scripts/pmwiki_recipes_info_listing +++ b/shell_scripts/pmwiki_recipes_info_listing @@ -7,7 +7,6 @@ # or manually pmwiki_recipes_info_listing | xclip # # TODO -# provide search links on keywords # clean trailing comments # s/#.*$// or s/\/\/.*$// # add a hook (locally and/or remotely) to generate this after each commit @@ -35,7 +34,7 @@ do echo "[[#$SCRIPT]][[$REPOSITORYURL/$SCRIPT|$SCRIPT]]"; grep RecipeInfo $SCRIPT | sed "s/.*= '\(.*\)';.*/* version (or date) \1/" ; grep HandleAction $SCRIPT | sed "s/.*], '\(.*\)');.*/* action [[Path:.?action=\1]]/" ; - grep ^Markup $SCRIPT | sed "s/.*:\(.*\):.*/* markup [[Path:?action=search\&q=(%3A\1%3A)|[@(:\1:)@]]]/" ; + grep ^Markup $SCRIPT | sed "s/.*:\(.*\):.*/* markup [[Path:?action=search\&q=%3A\1|[@(:\1:)@]]]/" ; echo "* functions"; for FUNCTION in `grep ^function $SCRIPT | sed "s/^function \(.*\)(.*/\1/"` do