[download]

local/bin/wiki-menu

   1 #!/bin/bash
   2 
   3 cd ~/Wiki
   4 i=$(icon document)
   5 
   6 find * -name \*.wiki -printf "%T+\t$i %p\n" | sort -r |
   7 cut -f 2 | sed 's/\.wiki$//' | menu -i wiki | cut -d ' ' -f 2- |
   8 while read i; do gvim "$i.wiki" & done