On Thursday 23 September 2004 17:07, Leendert Meyer wrote:
On Thursday 23 September 2004 16:37, Patrick Shanahan wrote:
grepm (a wrapper for grepmail utilizing mutt) appears to be incompatable with the new version of grepmail (5.00). I have reverted to 4.91.
Searching for a specific header pattern results in a very long *wait* with no results.
Having little programing experience, I have no idea where or how to approach this problem. Grepm is important to me for searching message archives in mbox format for display with mutt.
Any assistance would be appreciated.
grepm, a 50 line (including version comments) sh script, is available http://wahoo.no-ip.org/~pat/grepm
Hmm, thought I'd give it a try, but: leen@ws-02:~/public_html> wget http://wahoo.no-ip.org/~pat/grepm --17:29:07-- http://wahoo.no-ip.org/%7Epat/grepm => `grepm' Resolving wahoo.no-ip.org... 24.208.208.146 Connecting to wahoo.no-ip.org[24.208.208.146]:80... connected. HTTP request sent, awaiting response... 403 Forbidden 17:29:08 ERROR 403: Forbidden. leen@ws-02:~/public_html> Perhaps you need to do: chmod a+r ~/public_html/grepm ?
A script? :) already tried to execute it with:
sh -x grepm [grepm parameters]
or
sh -x grepm [grepm parameters] 2>&1 | less
You probably would be able to see where it hangs. I get such hangs in scripts when I supply an empty argument to a program, resulting in the program reading from stdin instead of reading from a file.
Cheers, Leen