This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Search found 4 matches

by BinaryBob
Mon Mar 14, 2005 12:56 am
Forum: Archive
Topic: exec, grep, and shells oh my
Replies: 6
Views: 4078

Woohoo! Double quotes it is!

Thank you very much.
by BinaryBob
Mon Mar 14, 2005 12:38 am
Forum: Archive
Topic: exec, grep, and shells oh my
Replies: 6
Views: 4078

Mistake on my part, when i did your first modification, i didn't incldue the *, duh. So I fixed that, included your catch lines. And the error is now: <ADMINBOT> [20:33] Tcl error [lookup_string]: grep: /home/eggdrop/eggdrop/logs/sdcara.log*: No such file or directory It seems to take the wildcard l...
by BinaryBob
Sun Mar 13, 2005 11:53 pm
Forum: Archive
Topic: exec, grep, and shells oh my
Replies: 6
Views: 4078

Thank you!
Ok, some progress. Now I get this error

Code: Select all

<ADMINBOT> [19:51] Tcl error [lookup_string]: child process exited abnormally
Ideas?
by BinaryBob
Sun Mar 13, 2005 11:32 pm
Forum: Archive
Topic: exec, grep, and shells oh my
Replies: 6
Views: 4078

exec, grep, and shells oh my

I'm trying to create a script that will let me lookup text in log files. I figured using grep externally would provide me with alot of flexability. I got it working, but it only works using one file, and I'm having my log files divided out by day, so I want to use the wildcard * liek I do on a shell...