How do I search in lists with irssi?

4

1

I would like to be able to search like this:

/window list | grep ruby

I have installed grep.pl to do so, but it still fails. The syntax says to do

/GREP [-i] [-w] [-v] [-F] <perl-regexp> <command to run>

But even typing /grep gives "Unknown command" in irssi.

What is a good way to find the number for specific channels? I keep on losing track of their numbers and typing /join #fullchannel name is often long and I often forget if the channel uses 1 or 2 #-symbols.

ujjain

Posted 2011-06-12T14:34:24.517

Reputation: 1 425

Answers

2

First off, make sure the script is loaded correctly by doing:

/script load grep

or

/script load autorun/grep

(if the grep.pl file is in your autorun directory)

Then, here is the proper command:

/grep ruby /window list

Wuffers

Posted 2011-06-12T14:34:24.517

Reputation: 16 645

I really wish we could figure out why this doesn't work with /list. – Bruno Bronosky – 2017-01-21T21:08:42.527

@BrunoBronosky /betterlist.pl can search for channels using regex.

– sergio – 2019-11-07T02:03:07.593

I blush! I ran /script load grep.pl, instead of /script load autorun/grep.pl! Thanks :) – ujjain – 2011-06-12T14:56:49.827

2Does not work for me when trying to search for a channel: "/GREP foo /list" – Clustermagnet – 2013-03-11T20:19:21.263