Re: [dev][dmenu] filter files with grep but print corresponding urls?

From: Andreas Wagner <>
Date: Mon, 17 May 2010 10:11:20 -0400

Thank you, I can now search with grep (although not incrementally) and
I can display something different than what is returned.

I think I may need to extend (or simplify) dmenu to allow for search
with an arbitrary tool recieving input and returning output from/to
dmenu. I can't think of the most idiomatic/elegant way to do this.
Would it be good to pass named pipes as arguments?

On Sun, May 9, 2010 at 9:06 AM, Hiltjo Posthuma <> wrote:
> On Sat, May 8, 2010 at 9:50 PM, Andreas Wagner <>
> wrote:
>> Hello,
>> I am writing some shell scripts for an uzbl bookmarker with full text
>> search of webpages bookmarked. It wgets the html and takes the md5sum
>> (of the page), the url and the title and puts them, space separated in
>> a file. The downloaded page's filename is changed to the md5sum.
>> I was trying a way to do the full text search of the pages with an
>> arbitrary tool such as grep but display the corresponding titles+urls
>> of the pages in the dmenu.
>> Is this currently possible with dmenu?
>> Thanks,
>> Andreas
> I was trying to do something similar and I wrote a patch to make dmenu
> output the index of the item instead of the text. The patch adds a "-n"
> option to toggle making it output an index instead of the text, also you
> must select the exact item (it doesnt output the input text). Patch added as
> attachment. I hope you find it useful.
Received on Mon May 17 2010 - 14:11:20 UTC

This archive was generated by hypermail 2.2.0 : Mon May 17 2010 - 14:12:02 UTC