[phpBB Debug] PHP Notice: in file /viewtopic.php on line 981: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 981: getdate(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead
Tynsoe Projects • View topic - grep'ing in the file?

grep'ing in the file?

grep'ing in the file?

Postby anonymous@nerds » Fri May 07, 2010 2:58 pm

Hi,
I was wondering if there was a good way to grep for a specific string in a log file. What I would like is a geeklet that is similar to the "file" one, but that I can use grep on. So, for example, I might want to monitor my syslog for any item that has the string "geektool".

Thanks,
John
anonymous@nerds
 
Posts: 3
Joined: Fri May 07, 2010 2:53 pm

Re: grep'ing in the file?

Postby ybizeul » Sat May 08, 2010 4:15 pm

For the moment I don't see an easy way to do this, apart from the lame one : grep the file, pipe in a tail, redirect in a temp output file, then display that one using "cat" and a shell geeklet.
You can post a feature request http://geektool3.tynsoe.org/
ybizeul
Site Admin
 
Posts: 133
Joined: Fri Jan 22, 2010 4:34 pm


Return to GeekTool

Who is online

Users browsing this forum: No registered users and 4 guests

cron