Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 1 down vote accepted

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
share|improve this answer
    
I blush! I ran /script load grep.pl, instead of /script load autorun/grep.pl! Thanks :) – ujjain Jun 12 '11 at 14:56
    
No problem, glad to help! – Wuffers Jun 12 '11 at 14:58
1  
Does not work for me when trying to search for a channel: "/GREP foo /list" – Clustermagnet Mar 11 '13 at 20:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .