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