Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer 1

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
    
Does not work for me when trying to search for a channel: "/GREP foo /list" –  Clustermagnet Mar 11 '13 at 20:19
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.