Hi Friends,
How can I search all files in all slices on a unix system for a particular string within the file.
e.g search string 'oracle'
Thanks (4 Replies)
Can someone please help me with searching a string during a specific time frame. Below is the format of the time from my log file.
"GET /AAM2009_wherewereheaded.wmv HTTP/1.1" 200 52307085
The search string I need is "AAM2009_wherewereheaded.wmv"
I need to search the number of... (1 Reply)
Hi,
I am on an AIX Unix box and I am trying to search for a string in between specified lines of code when I vi a file. I can use the '/string' to search for the string through out the file, but can we only search in between specific lines.
I can use the below sed command to search for the... (8 Replies)
Hi,
I have following requirement. Pls suggest.
To search a string in a file which is combination of character and number(always 9 digit, but numeric). if found then caputure the exit return code as 0 else 1 , if 0 then next job can be triggerd. If exit code is 1, should return a failure... (10 Replies)
Hi Guys,
I want to search the content of all the files (of a particular type like .txt)
in a directory for a specific string pattern. Can anyone help me?
Thanks (7 Replies)
Dear All,
New to Linux/Unix OS, my Linux version is 2010 x86_64 x86_64 x86_64 GNU/Linux
As titled, I wonder if you can help to provide a solution to find and change an specific string in a file
The file include a lots of data in following configuration but might be various in... (3 Replies)
Hi,
I have log file which rolls out every second which is as this.
HttpGenRequest - -<!--OXi dbPublish--> <created="2014-03-24 23:45:37" lastMsgId="" requestTime="0.0333"> <response request="getOutcomeDetails" code="114" message="Request found no matching data" debug="" provider="undefined"/>... (3 Replies)
Hi,
I have logfile like this..
=== 2014-02-09 15:46:59,936 INFO RequestContext - URL: '/eyisp/sc/skins/EY/images/pickers/comboBoxPicker_Over.png', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko': Unsupported with Accept-Encoding header
=== 2015-02-09... (8 Replies)
Lets say I have a massive directory which is filled with other directories all filled with different c++ scripts and I want a listing of all the scripts that contain the string: "this string". Is there a way to use a grep search for that? I tried:
grep -lr "this string" *
but I do not... (3 Replies)
Discussion started by: Circuits
3 Replies
LEARN ABOUT OPENDARWIN
tcl_createtimerhandler
Tcl_CreateTimerHandler(3) Tcl Library Procedures Tcl_CreateTimerHandler(3)__________________________________________________________________________________________________________________________________________________NAME
Tcl_CreateTimerHandler, Tcl_DeleteTimerHandler - call a procedure at a given time
SYNOPSIS
#include <tcl.h>
Tcl_TimerToken
Tcl_CreateTimerHandler(milliseconds, proc, clientData)
Tcl_DeleteTimerHandler(token)
ARGUMENTS
int milliseconds (in) How many milliseconds to wait before invoking proc.
Tcl_TimerProc *proc (in) Procedure to invoke after milliseconds have elapsed.
ClientData clientData (in) Arbitrary one-word value to pass to proc.
Tcl_TimerToken token (in) Token for previously-created timer handler (the return value from some previous call to Tcl_Cre-
ateTimerHandler).
_________________________________________________________________DESCRIPTION
Tcl_CreateTimerHandler arranges for proc to be invoked at a time milliseconds milliseconds in the future. The callback to proc will be
made by Tcl_DoOneEvent, so Tcl_CreateTimerHandler is only useful in programs that dispatch events through Tcl_DoOneEvent or through Tcl
commands such as vwait. The call to proc may not be made at the exact time given by milliseconds: it will be made at the next opportunity
after that time. For example, if Tcl_DoOneEvent isn't called until long after the time has elapsed, or if there are other pending events
to process before the call to proc, then the call to proc will be delayed.
Proc should have arguments and return value that match the type Tcl_TimerProc:
typedef void Tcl_TimerProc(ClientData clientData);
The clientData parameter to proc is a copy of the clientData argument given to Tcl_CreateTimerHandler when the callback was created. Typi-
cally, clientData points to a data structure containing application-specific information about what to do in proc.
Tcl_DeleteTimerHandler may be called to delete a previously-created timer handler. It deletes the handler indicated by token so that no
call to proc will be made; if that handler no longer exists (e.g. because the time period has already elapsed and proc has been invoked
then Tcl_DeleteTimerHandler does nothing. The tokens returned by Tcl_CreateTimerHandler never have a value of NULL, so if NULL is passed
to Tcl_DeleteTimerHandler then the procedure does nothing.
KEYWORDS
callback, clock, handler, timer
Tcl 7.5 Tcl_CreateTimerHandler(3)