diff --git a/shell_scripts/pmwiki_recipes_info_listing b/shell_scripts/pmwiki_recipes_info_listing index bddfebd..19251a1 100755 --- a/shell_scripts/pmwiki_recipes_info_listing +++ b/shell_scripts/pmwiki_recipes_info_listing @@ -7,6 +7,7 @@ # 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 @@ -34,7 +35,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 [@(:\1:)@]/" ; + grep ^Markup $SCRIPT | sed "s/.*:\(.*\):.*/* markup [[Path:?action=search\&q=(%3A\1%3A)|[@(:\1:)@]]]/" ; echo "* functions"; for FUNCTION in `grep ^function $SCRIPT | sed "s/^function \(.*\)(.*/\1/"` do