Tags:
create new tag
, view all tags

Question

I've installed TWiki on a hosted ISP. My tech rep will not allow the use of egrep and fgrep on the server. Besides living without any search or index capabilities, is there a work-around?

Environment

TWiki version: TWikiRelease01Feb2003
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Unix (freebsd)
Web server: Apache/1.3.29
Perl version: 5.00503
Client OS:  
Web Browser:  

-- AnnelieseFox - 21 Jul 2004

Answer

Hmm, it should be preinstalled and ready to use on a freebsd machine.

Here are alternatives:

  • Use a different provider, see TWikiOnWebHostingSites
  • Use a search engine (on the internet or installed on the server). With this you can search the TWiki space but you do not get the power of embedded %SEARCH{}% and FormattedSearch
  • Write a Perl script that emulates grep. It might already exist on CPAN.

Let us know your progress!

-- PeterThoeny - 22 Jul 2004

I have the same problem on the hosted site I'm using. I found an egrep perl script here and tweaked it a bit. I'm still testing it, though, and I need to check with the original author on whether it's OK to use/publish it.

-- ClausBrod - 06 Nov 2004

Got permission from the original author to use and modify the script:

  • egrep.pl.txt: egrep.pl script by Fedon Kadifeli, naively modified

This version seems to work fine on my site (http://www.clausbrod.de/TWiki/).

-- ClausBrod - 06 Dec 2004

Topic attachments
I Attachment Action Size Date Who Comment
Texttxt egrep.pl.txt manage 1.2 K 2004-12-06 - 19:02 ClausBrod egrep.pl script by Fedon Kadifeli, naively modified
Topic revision: r3 - 2004-11-06 - ClausBrod
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by PerlIdeas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.