Page 1 of 1

bfind - scroll buffer find

Posted: Sun Jun 13, 2010 3:43 pm
by lex
Hi,

I did some changes to original find-alias.xml. (sorry for new thread, but I could not find original one.)
Changes:
  • user bfind alias (use it like: bfind keyword)
  • bfind now ignore case
  • excludes output from previous bfind, so you can search only through valid lines
  • bfind will accept pattern (for example bfind ^lua will show all lines starting with lua)
You will also need 2 string functions, which might be included in next Mudlet release.

All is enclosed.

Re: bfind - scroll buffer find

Posted: Sun Jun 13, 2010 5:22 pm
by Vadi
Nice, thanks

Re: bfind - scroll buffer find

Posted: Sat Jun 19, 2010 2:11 pm
by lex
Hello,

first update to bfind alias. You can now specify how many line before/after match should be visible. (all is enclosed)
Few examples bellow;
bfind rat fill print only matching lines
bfind[2] rat will print 2 line before and 2 line after match
bfind[10] rat will print 10 line before and 10 line after match